A few fixes.

This commit is contained in:
Head
2012-07-28 17:16:22 +02:00
parent b6c4e9e9be
commit 3a1f30ece4
4 changed files with 7 additions and 5 deletions

View File

@@ -253,7 +253,7 @@
if (timeleft)
stat(null, "ETA-[(timeleft / 60) % 60]:[add_zero(num2text(timeleft % 60), 2)]")
if(ticker.mode.name == "AI malfunction")
if(ticker.mode && ticker.mode.name == "AI malfunction")
var/datum/game_mode/malfunction/malf = ticker.mode
for (var/datum/mind/malfai in malf.malf_ai)
if(connected_ai)