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:
@@ -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).
|
// 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!
|
// let's boogie!
|
||||||
_pctx.getParlorDirector().gameIsReady(table.gameOid);
|
_pctx.getParlorDirector().gameIsReady(table.gameOid);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user