forked from SilverStudioGames/WTS
Version bump
* Added staging version support for version_float func * Bumped version
This commit is contained in:
parent
babbc11cf0
commit
a9740ff99e
@ -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
|
||||
|
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user