fix !update when game is running
This commit is contained in:
parent
8a0919d7c1
commit
d35012d739
@ -6220,7 +6220,7 @@ def update(var, wrapper, message):
|
|||||||
stop_game(var, log=False)
|
stop_game(var, log=False)
|
||||||
else:
|
else:
|
||||||
wrapper.pm(messages["stop_bot_ingame_safeguard"].format(
|
wrapper.pm(messages["stop_bot_ingame_safeguard"].format(
|
||||||
what="restart", cmd="update", prefix=botconfig.CMD_CHAR), private=True)
|
what="restart", cmd="update", prefix=botconfig.CMD_CHAR))
|
||||||
return
|
return
|
||||||
|
|
||||||
if update.aftergame:
|
if update.aftergame:
|
||||||
|
Loading…
Reference in New Issue
Block a user