From abf1be2686f7a9d5cb95586e305d833f9bc77c17 Mon Sep 17 00:00:00 2001 From: MLGTASTICa <61350382+MLGTASTICa@users.noreply.github.com> Date: Fri, 30 Jun 2023 19:40:01 +0300 Subject: [PATCH] Fixes missing epicenter runtime (#8201) --- code/controllers/subsystems/explosions.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/controllers/subsystems/explosions.dm b/code/controllers/subsystems/explosions.dm index 4f4cdef3d74..a2ce544fa60 100644 --- a/code/controllers/subsystems/explosions.dm +++ b/code/controllers/subsystems/explosions.dm @@ -197,6 +197,8 @@ SUBSYSTEM_DEF(explosions) /turf/explosion_act(target_power, explosion_handler/handler) var/power_reduction = 0 for(var/atom/movable/thing as anything in contents) + if(QDELETED(handler)) + break if(thing.simulated) power_reduction += thing.explosion_act(target_power, handler) if(!QDELETED(thing) && isobj(thing) && !thing.anchored)