diff --git a/code/modules/atmospherics/environmental/LINDA_fire.dm b/code/modules/atmospherics/environmental/LINDA_fire.dm index e796d3cf64a..4c52f127f52 100644 --- a/code/modules/atmospherics/environmental/LINDA_fire.dm +++ b/code/modules/atmospherics/environmental/LINDA_fire.dm @@ -149,15 +149,13 @@ /obj/effect/hotspot/Destroy() SetLuminosity(0) SSair.hotspots -= src - if(isturf(loc)) - var/turf/open/T = loc - if(T.active_hotspot == src) - T.active_hotspot = null + var/turf/open/T = loc + if(istype(T) && T.active_hotspot == src) + T.active_hotspot = null DestroyTurf() loc = null . = ..() - /obj/effect/hotspot/proc/DestroyTurf() if(isturf(loc)) var/turf/T = loc