Merge pull request #2324 from Fox-McCloud/hotspot-fix

Fixes Duplicate Hotspot New()'s
This commit is contained in:
Mark van Alphen
2015-10-09 01:06:02 +02:00
+2 -6
View File
@@ -61,6 +61,8 @@
set_light(3, 1, color)
air_master.hotspots += src
perform_exposure()
dir = pick(cardinal)
air_update_turf()
/obj/effect/hotspot/proc/perform_exposure()
var/turf/simulated/location = loc
@@ -178,12 +180,6 @@
T.to_be_destroyed = 0
T.max_fire_temperature_sustained = 0
/obj/effect/hotspot/New()
..()
dir = pick(cardinal)
air_update_turf()
return
/obj/effect/hotspot/Crossed(mob/living/L)
..()
if(isliving(L))