mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 22:42:03 -08: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…
Add table
Add a link
Reference in a new issue