Skip to content

Commit b94f8ff

Browse files
committed
unbound check???
1 parent 024ad9b commit b94f8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def create_rom_file(patch_file: str) -> Tuple[RomMeta, str]:
2626
handler.read()
2727
if handler.game:
2828
game_version = AutoWorldRegister.world_types[handler.game].world_version
29-
if game_version and handler.world_version and game_version != handler.world_version:
29+
if game_version is not None and handler.world_version and game_version != handler.world_version:
3030
info_msg = "This patch was generated with " \
3131
f"{handler.game} version {handler.world_version.as_simple_string()}, " \
3232
f"but its currently installed version is {game_version.as_simple_string()}. " \

0 commit comments

Comments
 (0)