Skip to content

Commit

Permalink
YGO06: fix goal not being detected
Browse files Browse the repository at this point in the history
  • Loading branch information
Rensen3 committed Sep 14, 2023
1 parent 2be9ba8 commit 319f96c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions worlds/yugioh06/Client_bh.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@ async def game_watcher(self, ctx: BizHawkClientContext) -> None:
}])

# Send game clear if we're in either any ending cutscene or the credits state.
if not ctx.finished_game and bytearray(locations)[18] & (1 << 5) != 0:
await ctx.send_msgs([{
"cmd": "StatusUpdate",
"status": ClientStatus.CLIENT_GOAL
}])
if not ctx.finished_game and bytearray(locations)[18] & (1 << 5) != 0:
await ctx.send_msgs([{
"cmd": "StatusUpdate",
"status": ClientStatus.CLIENT_GOAL
}])

except bizhawk.RequestFailedError:
# Exit handler and return to main loop to reconnect.
Expand Down

0 comments on commit 319f96c

Please sign in to comment.