Fixed a bug in table cleanup that prevented removing of canceled tables (not started yet) from the list of tables.

This commit is contained in:
LevelX2 2014-03-16 00:36:36 +01:00
parent 9c9171a5ee
commit 95b39bd44c

View file

@ -140,7 +140,9 @@ public class Table implements Serializable {
*
*/
public void cleanUp() {
match.cleanUpOnMatchEnd(isTournament);
if (match != null) {
match.cleanUpOnMatchEnd(isTournament);
}
}
public String getGameType() {