From c36cdf5546e04597ef47e831d92bde7b84ba3c29 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 22 Mar 2020 20:07:19 +0100 Subject: [PATCH] reset snes state when resetting rom --- MultiClient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/MultiClient.py b/MultiClient.py index eb07342e..00c7e3b5 100644 --- a/MultiClient.py +++ b/MultiClient.py @@ -666,6 +666,7 @@ async def process_server_cmd(ctx : Context, cmd, args): ctx.password = None await server_auth(ctx, True) if 'InvalidRom' in args: + ctx.snes_state = SNES_DISCONNECTED ctx.rom = None raise Exception( 'Invalid ROM detected, please verify that you have loaded the correct rom and reconnect your snes (/snes)')