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:
Michael Bayne
2007-04-10 17:27:02 +00:00
parent 97a8417d4e
commit d1672d7c79
@@ -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]);
} }
} }