Merge pull request #11992 from Ccomp5950/malf_fixes

Malf fixes
This commit is contained in:
GinjaNinja32
2016-01-18 06:47:24 +00:00
2 changed files with 6 additions and 3 deletions
+4 -3
View File
@@ -144,9 +144,10 @@ var/const/enterloopsanity = 100
if(objects > enterloopsanity) break
objects++
spawn(0)
A.HasProximity(thing, 1)
if ((thing && A) && (thing.flags & PROXMOVE))
thing.HasProximity(A, 1)
if(A)
A.HasProximity(thing, 1)
if ((thing && A) && (thing.flags & PROXMOVE))
thing.HasProximity(A, 1)
return
/turf/proc/adjacent_fire_act(turf/simulated/floor/source, temperature, volume)
@@ -1,6 +1,8 @@
var/global/list/empty_playable_ai_cores = list()
/hook/roundstart/proc/spawn_empty_ai()
if("AI" in ticker.mode.disabled_jobs)
return 1 // Don't make empty AI's if you can't have them (also applies to Malf)
for(var/obj/effect/landmark/start/S in landmarks_list)
if(S.name != "AI")
continue