fix game deletion, avoid keeping track of old game
This commit is contained in:
parent
7ad1ab246a
commit
853a188c1d
|
@ -215,6 +215,7 @@ def newgame(handler, name, template):
|
|||
def delgame(handler):
|
||||
db.del_game(handler.dbc, handler.group.gameid)
|
||||
handler.send('GG, humans.')
|
||||
handler.group = None
|
||||
|
||||
@add_command('showgame')
|
||||
@need_gameid(allowexisting=True, errormessage='No game found.')
|
||||
|
|
Loading…
Reference in New Issue