[MIRROR] improves fire extinguisher code, and makes fire extinguisher water go through machinery, lockers, and crates (#3560)

* improves fire extinguisher code, and makes fire extinguisher water go through machinery, lockers, and crates (#57004)

* improves fire extinguisher code, and makes fire extinguisher water go through machinery, lockers, and crates

Co-authored-by: Tlaltecuhtli <33834933+Tlaltecuhtli@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-02-21 15:17:12 +01:00
committed by GitHub
parent 925560002e
commit 9bc6ee7bb5
6 changed files with 7 additions and 6 deletions
@@ -3,6 +3,7 @@
/obj/effect/particle_effect/water
name = "water"
icon_state = "extinguish"
pass_flags = PASSTABLE | PASSMACHINE | PASSSTRUCTURE | PASSGRILLE
var/life = 15
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
@@ -15,8 +16,6 @@
if (--src.life < 1)
qdel(src)
return FALSE
if(newloc.density)
return FALSE
return ..()
/obj/effect/particle_effect/water/Bump(atom/A)