Skip to content

Commit

Permalink
Fixes missing epicenter runtime (#8201)
Browse files Browse the repository at this point in the history
  • Loading branch information
MLGTASTICa authored Jun 30, 2023
1 parent a840ffc commit abf1be2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/controllers/subsystems/explosions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit abf1be2

Please sign in to comment.