From 3b17a23373675c2a0e3bbbfb773be0242888f69a Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Fri, 23 Dec 2016 07:30:50 -0500 Subject: [PATCH] Fixes a hotspot Destroy runtime (#22383) * Fixes a hotspot Destroy runtime * The better way --- code/modules/atmospherics/environmental/LINDA_fire.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/atmospherics/environmental/LINDA_fire.dm b/code/modules/atmospherics/environmental/LINDA_fire.dm index fff0ba66314..aeca666fde9 100644 --- a/code/modules/atmospherics/environmental/LINDA_fire.dm +++ b/code/modules/atmospherics/environmental/LINDA_fire.dm @@ -149,11 +149,11 @@ /obj/effect/hotspot/Destroy() SetLuminosity(0) SSair.hotspots -= src - DestroyTurf() if(isturf(loc)) var/turf/open/T = loc if(T.active_hotspot == src) T.active_hotspot = null + DestroyTurf() loc = null ..() return QDEL_HINT_PUTINPOOL