Friday the Thirteenth Bugfixes (#17594)

Title
This commit is contained in:
Wowzewow (Wezzy)
2023-10-16 19:27:31 +00:00
committed by GitHub
parent 5131dc4674
commit 7182934323
4 changed files with 55 additions and 4 deletions
+8 -2
View File
@@ -48,13 +48,19 @@
/obj/effect/effect/smoke/chem/Crossed(atom/movable/AM)
..()
if(!istype(AM, /obj/effect/effect/smoke/chem))
reagents.splash(AM, splash_amount, copy = 1)
if(istype(AM, /obj/item/reagent_containers) && !AM.is_open_container())
return
else
reagents.splash(AM, splash_amount, copy = 1)
/obj/effect/effect/smoke/chem/proc/initial_splash()
for(var/turf/T in view(1, src))
for(var/atom/movable/AM in T)
if(!istype(AM, /obj/effect/effect/smoke/chem))
reagents.splash(AM, splash_amount, copy = 1)
if(istype(AM, /obj/item/reagent_containers) && !AM.is_open_container())
return
else
reagents.splash(AM, splash_amount, copy = 1)
/////////////////////////////////////////////
// Chem Smoke Effect System