Booting bug fix: Don't zero out the bodyOid we need until we're done with it

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@716 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Bruno Garcia
2008-08-07 23:46:56 +00:00
parent 78fe9878a1
commit 0a4b20d412
@@ -302,11 +302,11 @@ public class TableManager
table.addBannedUser(table.players[position]); table.addBannedUser(table.players[position]);
// Remove the player from the table // Remove the player from the table
table.clearPlayerPos(position);
if (notePlayerRemoved(table.bodyOids[position]) == null) { if (notePlayerRemoved(table.bodyOids[position]) == null) {
log.warning("No body to table mapping to clear? [position=" + position + log.warning("No body to table mapping to clear? [position=" + position +
", table=" + table + "]."); ", table=" + table + "].");
} }
table.clearPlayerPos(position);
_tlobj.updateTables(table); _tlobj.updateTables(table);
} }