Use notePlayerRemoved() so that we remove our object death listener
appropriately. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@275 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -354,8 +354,8 @@ public class TableManager
|
|||||||
|
|
||||||
if (table.bodyOids != null) {
|
if (table.bodyOids != null) {
|
||||||
// clear the occupant to table mappings as this game is underway
|
// clear the occupant to table mappings as this game is underway
|
||||||
for (int i = 0; i < table.bodyOids.length; i++) {
|
for (int ii = 0; ii < table.bodyOids.length; ii++) {
|
||||||
_boidMap.remove(table.bodyOids[i]);
|
notePlayerRemoved(table, table.bodyOids[ii]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user