diff --git a/MultiClient.py b/MultiClient.py index d50b8258..4449162a 100644 --- a/MultiClient.py +++ b/MultiClient.py @@ -58,6 +58,7 @@ class Context: self.locations_info = {} self.awaiting_rom = False self.rom = None + self.prev_rom = None self.auth = None self.found_items = found_items self.finished_game = False @@ -1005,8 +1006,11 @@ async def game_watcher(ctx : Context): continue ctx.rom = list(rom) - ctx.locations_checked = set() - ctx.locations_scouted = set() + if not ctx.prev_rom or ctx.prev_rom != ctx.rom: + ctx.locations_checked = set() + ctx.locations_scouted = set() + ctx.prev_rom = ctx.rom.copy() + if ctx.awaiting_rom: await server_auth(ctx, False)