mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
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:
parent
9c9171a5ee
commit
95b39bd44c
1 changed files with 3 additions and 1 deletions
|
@ -140,7 +140,9 @@ public class Table implements Serializable {
|
|||
*
|
||||
*/
|
||||
public void cleanUp() {
|
||||
match.cleanUpOnMatchEnd(isTournament);
|
||||
if (match != null) {
|
||||
match.cleanUpOnMatchEnd(isTournament);
|
||||
}
|
||||
}
|
||||
|
||||
public String getGameType() {
|
||||
|
|
Loading…
Reference in a new issue