cleanup after setupgame timeout properly
This commit is contained in:
parent
41c924a9ef
commit
dbef439f76
|
@ -326,6 +326,8 @@ Creator, type `{newgame.name} done` to finalize lineups.""")
|
||||||
msg = await client.wait_for('message', timeout=120.0, check=messagecheck)
|
msg = await client.wait_for('message', timeout=120.0, check=messagecheck)
|
||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
await channel.send("Game timed out. 120 seconds between players is a bit much, see?")
|
await channel.send("Game timed out. 120 seconds between players is a bit much, see?")
|
||||||
|
del setupmessages[team_join_message]
|
||||||
|
del newgame
|
||||||
return
|
return
|
||||||
|
|
||||||
new_player = None
|
new_player = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user