From a3911c21a3a9e7df58d219e62d553adb7c312f5a Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 23 Oct 2007 23:46:51 +0000 Subject: [PATCH] Go ahead and fix this: party tables now have a 0-length occupants array. TableDirector.java already had this same code (and I wrote it!) so I feel safe making the change. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@466 c613c5cb-e716-0410-b11b-feb51c14d237 --- src/as/com/threerings/parlor/client/TableDirector.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/as/com/threerings/parlor/client/TableDirector.as b/src/as/com/threerings/parlor/client/TableDirector.as index a77b984b..4dc2ef3c 100644 --- a/src/as/com/threerings/parlor/client/TableDirector.as +++ b/src/as/com/threerings/parlor/client/TableDirector.as @@ -317,7 +317,7 @@ public class TableDirector extends BasicDirector } // All this to check to see if we created a party game (and should now enter). - if (table.gameOid != -1 && (table.occupants == null)) { + if (table.gameOid != -1 && (table.occupants.length == 0)) { // let's boogie! _pctx.getParlorDirector().gameIsReady(table.gameOid); }