From 4c8e91daa94d201ca9f30e553ba67f5550826637 Mon Sep 17 00:00:00 2001 From: mochi Date: Thu, 10 Sep 2020 17:53:02 +0200 Subject: [PATCH] Fix vent bursting sending non-living mobs flying --- code/ATMOSPHERICS/components/unary_devices/vent_pump.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm b/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm index 10479d57d41..2e7707a725f 100644 --- a/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm +++ b/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm @@ -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("The welded cover of [src] bursts open!") - 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()