Minor fixes in table manager and matchImpl.

This commit is contained in:
magenoxx 2011-05-19 23:49:15 +04:00
parent ec1327199d
commit cbeab91889
2 changed files with 3 additions and 1 deletions

View file

@ -210,7 +210,8 @@ public class TableManager {
controllers.remove(tableId);
tables.remove(tableId);
GamesRoomManager.getInstance().removeTable(tableId);
table.getMatch().getGame().end();
if (table.getMatch().getGame() != null)
table.getMatch().getGame().end();
}
}