Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
86e09f1dc2
|
@ -58,6 +58,7 @@ class Context:
|
||||||
self.locations_info = {}
|
self.locations_info = {}
|
||||||
self.awaiting_rom = False
|
self.awaiting_rom = False
|
||||||
self.rom = None
|
self.rom = None
|
||||||
|
self.prev_rom = None
|
||||||
self.auth = None
|
self.auth = None
|
||||||
self.found_items = found_items
|
self.found_items = found_items
|
||||||
self.finished_game = False
|
self.finished_game = False
|
||||||
|
@ -1005,8 +1006,11 @@ async def game_watcher(ctx : Context):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
ctx.rom = list(rom)
|
ctx.rom = list(rom)
|
||||||
|
if not ctx.prev_rom or ctx.prev_rom != ctx.rom:
|
||||||
ctx.locations_checked = set()
|
ctx.locations_checked = set()
|
||||||
ctx.locations_scouted = set()
|
ctx.locations_scouted = set()
|
||||||
|
ctx.prev_rom = ctx.rom.copy()
|
||||||
|
|
||||||
if ctx.awaiting_rom:
|
if ctx.awaiting_rom:
|
||||||
await server_auth(ctx, False)
|
await server_auth(ctx, False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue