diff --git a/src/java/com/threerings/parlor/server/TableManager.java b/src/java/com/threerings/parlor/server/TableManager.java index 389aab1f..c9e0d290 100644 --- a/src/java/com/threerings/parlor/server/TableManager.java +++ b/src/java/com/threerings/parlor/server/TableManager.java @@ -260,7 +260,9 @@ public class TableManager // clear out all matching entries in the boid map if (table.bodyOids != null) { for (int ii = 0; ii < table.bodyOids.length; ii++) { - notePlayerRemoved(table, table.bodyOids[ii]); + if (table.bodyOids[ii] > 0) { + notePlayerRemoved(table, table.bodyOids[ii]); + } } } @@ -355,7 +357,9 @@ public class TableManager if (table.bodyOids != null) { // clear the occupant to table mappings as this game is underway for (int ii = 0; ii < table.bodyOids.length; ii++) { - notePlayerRemoved(table, table.bodyOids[ii]); + if (table.bodyOids[ii] > 0) { + notePlayerRemoved(table, table.bodyOids[ii]); + } } }