Skip to content

Commit

Permalink
Update seed verification to be more likely to make a correct comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbrq committed Aug 11, 2024
1 parent 423d411 commit 9a5c2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/mlss/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def game_watcher(self, ctx: "BizHawkClientContext") -> None:
if not self.seed_verify:
seed = await bizhawk.read(ctx.bizhawk_ctx, [(0xDF00A0, len(ctx.seed_name), "ROM")])
seed = seed[0].decode("UTF-8")
if seed != ctx.seed_name:
if seed not in ctx.seed_name:
logger.info(
"ERROR: The ROM you loaded is for a different game of AP. "
"Please make sure the host has sent you the correct patch file,"
Expand Down

0 comments on commit 9a5c2ed

Please sign in to comment.