mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user