Don't start the game while we're still initializing the manager. Let the

manager finish the startup process and then call startGame().


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@448 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-10-10 03:32:03 +00:00
parent f6b716c4ea
commit a70048dfde
@@ -537,9 +537,14 @@ public class EZGameManager extends GameManager
_ezObj.setEzGameService(
(EZGameMarshaller) CrowdServer.invmgr.registerDispatcher(new EZGameDispatcher(this)));
// if we don't need the no-show timer, start.
// if we don't need the no-show timer, start right away (but allow the manager startup
// process to finish before doing so)
if (!needsNoShowTimer()) {
startGame();
CrowdServer.omgr.postRunnable(new Runnable() {
public void run () {
startGame();
}
});
}
}