Fixes somethings I broke.

fixes walls spawning their metal in an odd spot because of loc vs src confusion.
fixes ashdrakes's flame wall getting confused when it tried to see if the turf it is standing on is atmosly connected to the turf it is standing on.
This commit is contained in:
MrStonedOne
2016-12-09 02:08:53 -08:00
parent f88ba3af63
commit ccf3002e46
3 changed files with 5 additions and 5 deletions
@@ -171,7 +171,7 @@ Difficulty: Medium
var/range = 10
var/turf/previousturf = get_turf(src)
for(var/turf/J in getline(src,E))
if(!range || !previousturf.atmos_adjacent_turfs || !previousturf.atmos_adjacent_turfs[J])
if(!range || (J != previousturf && (!previousturf.atmos_adjacent_turfs || !previousturf.atmos_adjacent_turfs[J])))
break
range--
PoolOrNew(/obj/effect/hotspot,J)