Fix vent bursting sending non-living mobs flying

This commit is contained in:
mochi
2020-09-10 17:53:02 +02:00
parent 5de78c3f21
commit 4c8e91daa9
@@ -139,7 +139,7 @@
if(welded)
if(air_contents.return_pressure() >= weld_burst_pressure && prob(5)) //the weld is on but the cover is welded shut, can it withstand the internal pressure?
visible_message("<span class='danger'>The welded cover of [src] bursts open!</span>")
for(var/mob/M in range(1, src))
for(var/mob/living/M in range(1, src))
unsafe_pressure_release(M, air_contents.return_pressure()) //let's send everyone flying
welded = FALSE
update_icon()