Merge pull request #1446 from Fox-McCloud/pools-and-fires

Pools Hotspots
This commit is contained in:
TheDZD
2015-07-05 17:51:20 -04:00
7 changed files with 16 additions and 24 deletions
+1 -1
View File
@@ -124,7 +124,7 @@
var/atom/movable/AM = atom_movable
if(AM) AM.ex_act(dist)
if(flame_dist && prob(40) && !istype(T, /turf/space) && !T.density)
new/obj/effect/hotspot(T) //Mostly for ambience!
PoolOrNew(/obj/effect/hotspot, T) //Mostly for ambience!
if(dist > 0)
T.ex_act(dist)
@@ -357,7 +357,7 @@
G.temperature = 2
T.air_update_turf()
for(var/obj/effect/hotspot/H in T)
H.Kill()
qdel(H)
if(G.toxins)
G.nitrogen += (G.toxins)
G.toxins = 0