diff --git a/game/scripts/options.rpy b/game/scripts/options.rpy index 134206c9..9799d58b 100644 --- a/game/scripts/options.rpy +++ b/game/scripts/options.rpy @@ -35,7 +35,7 @@ define config.developer = "auto" define config.console = True # Game version and naming -define config.version = "1.45.0" +define config.version = "1.45.0.1" define compatible_version = 1.45 define config.name = "Witch Trainer Silver" define prerelease = True# if not config.developer else False diff --git a/game/scripts/utility/updater.rpy b/game/scripts/utility/updater.rpy index 4948a6f1..ebdc8557 100644 --- a/game/scripts/utility/updater.rpy +++ b/game/scripts/utility/updater.rpy @@ -64,8 +64,8 @@ init python: renpy.set_return_stack(("main_room",)) def version_float(): - control, major, minor = config.version.split(" ")[0].split(".") - return float("{}.{}{}".format(control, major, minor)) + control, major, *minor = config.version.split(" ")[0].split(".") + return float("{}.{}{}".format(control, major, "".join(minor))) def version_patch(): if renpy.is_init_phase():