fixed a runtime error caused when checking the game mode prior to round start

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@705 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
musketstgstation@gmail.com
2010-12-27 01:26:21 +00:00
parent e7d0657470
commit 289d6e8d56

View File

@@ -44,7 +44,10 @@
..()
statpanel("Status")
if (src.client.statpanel == "Status")
if(ticker.mode != null)
//world << "DEBUG: ticker not null"
if(ticker.mode.name == "AI malfunction")
//world << "DEBUG: malf mode ticker test"
if(ticker.mode:malf_mode_declared)
stat(null, "Time left: [max(ticker.mode:AI_win_timeleft/(ticker.mode:apcs/3), 0)]")
if(emergency_shuttle)