Skip to content

Commit

Permalink
Update rom.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvris committed Jan 22, 2025
1 parent f994645 commit 2287357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/kss/rom.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def patch_rom(world: "KSSWorld", patch: KSSProcedurePatch):
patch.write_byte(goal_requirement + 1, world.options.required_subgames.value)

if world.treasure_value:
patch.write_bytes(treasure_values, pack("IIII", world.treasure_value))
patch.write_bytes(treasure_values, pack("IIII", *world.treasure_value))

patch_name = bytearray(
f'KSS{Utils.__version__.replace(".", "")[0:3]}_{world.player}_{world.multiworld.seed:11}\0', 'utf8')[:21]
Expand Down

0 comments on commit 2287357

Please sign in to comment.