From cc3976a213e597aa1a858617ddc39859315c9e2a Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Fri, 24 Aug 2007 23:54:06 +0000 Subject: [PATCH] Use playerInRoom() to let the game manager know we've arrived but aren't ready to start the game yet. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@419 c613c5cb-e716-0410-b11b-feb51c14d237 --- src/as/com/threerings/ezgame/client/EZGameController.as | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/as/com/threerings/ezgame/client/EZGameController.as b/src/as/com/threerings/ezgame/client/EZGameController.as index dad6b5cf..166125c0 100644 --- a/src/as/com/threerings/ezgame/client/EZGameController.as +++ b/src/as/com/threerings/ezgame/client/EZGameController.as @@ -59,7 +59,12 @@ public class EZGameController extends GameController public function userCodeIsConnected (autoReady :Boolean) :void { if (autoReady) { + // let the game manager know that we're here and we want to start the game now playerIsReady(); + } else { + // let the game manager know that we're here even though we don't want the game to + // start yet + _gobj.manager.invoke("playerInRoom"); } }