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
This commit is contained in:
Ray Greenwell
2007-10-23 23:46:51 +00:00
parent 1d3a53757c
commit a3911c21a3
@@ -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);
}