only force AI if malf mode

This commit is contained in:
Tastyfish
2011-12-28 01:18:16 -05:00
parent f378644bb0
commit 99c1df3ff4
+5 -1
View File
@@ -103,6 +103,10 @@ var/global/datum/controller/occupations/job_master
proc/FillAIPosition()
// this now only forces AI if malf mode
if(ticker.mode.name != "AI malfunction")
return
var/ai_selected = 0
var/datum/job/job = GetJob("AI")
if(!job) return 0
@@ -167,7 +171,7 @@ var/global/datum/controller/occupations/job_master
FillHeadPosition()
Debug("DO, Head Check end")
//Check for an AI
//Check for an AI, now purely just for malf mode
Debug("DO, Running AI Check")
FillAIPosition()
Debug("DO, AI Check end")