This should fix the multiwizard/nuke problem

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1993 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
mport2004@gmail.com
2011-08-07 23:14:37 +00:00
parent 722ea66721
commit fd40fa4632
+4 -1
View File
@@ -45,8 +45,11 @@ var/global/datum/controller/gameticker/ticker
current_state = GAME_STATE_PREGAME
world << "<B>Unable to choose playable game mode.</B> Reverting to pre-game lobby."
return 0
ResetOccupations()//Ok this is not the best, but should work as a quickfix
ResetOccupations()
src.mode = pickweight(runnable_modes)
if(src.mode)
var/mtype = src.mode.type
src.mode = new mtype
else
src.mode = config.pick_mode(master_mode)