We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 024ad9b commit b94f8ffCopy full SHA for b94f8ff
Patch.py
@@ -26,7 +26,7 @@ def create_rom_file(patch_file: str) -> Tuple[RomMeta, str]:
26
handler.read()
27
if handler.game:
28
game_version = AutoWorldRegister.world_types[handler.game].world_version
29
- if game_version and handler.world_version and game_version != handler.world_version:
+ if game_version is not None and handler.world_version and game_version != handler.world_version:
30
info_msg = "This patch was generated with " \
31
f"{handler.game} version {handler.world_version.as_simple_string()}, " \
32
f"but its currently installed version is {game_version.as_simple_string()}. " \
0 commit comments