Whoops, somehow missed an error.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1977 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
mport2004@gmail.com
2011-08-03 20:45:40 +00:00
parent fd8fac9aec
commit 5ae4cf65b2
+7 -6
View File
@@ -48,12 +48,13 @@ var/global/datum/controller/gameticker/ticker
src.mode = pickweight(runnable_modes)
else
src.mode = config.pick_mode(master_mode)
if (!src.mode.can_start())
del(mode)
current_state = GAME_STATE_PREGAME
world << "<B>Unable to start [master_mode].</B> Not enough players, [master_mode.required_players] players needed. Reverting to pre-game lobby."
ResetOccupations()
return 0
if (!src.mode.can_start())
world << "<B>Unable to start [mode.name].</B> Not enough players, [mode.required_players] players needed. Reverting to pre-game lobby."
del(mode)
current_state = GAME_STATE_PREGAME
ResetOccupations()
return 0
//Configure mode and assign player to special mode stuff