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
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user