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
|
define config.console = True
|
||||||
|
|
||||||
# Game version and naming
|
# Game version and naming
|
||||||
define config.version = "1.45.0"
|
define config.version = "1.45.0.1"
|
||||||
define compatible_version = 1.45
|
define compatible_version = 1.45
|
||||||
define config.name = "Witch Trainer Silver"
|
define config.name = "Witch Trainer Silver"
|
||||||
define prerelease = True# if not config.developer else False
|
define prerelease = True# if not config.developer else False
|
||||||
|
@ -64,8 +64,8 @@ init python:
|
|||||||
renpy.set_return_stack(("main_room",))
|
renpy.set_return_stack(("main_room",))
|
||||||
|
|
||||||
def version_float():
|
def version_float():
|
||||||
control, major, minor = config.version.split(" ")[0].split(".")
|
control, major, *minor = config.version.split(" ")[0].split(".")
|
||||||
return float("{}.{}{}".format(control, major, minor))
|
return float("{}.{}{}".format(control, major, "".join(minor)))
|
||||||
|
|
||||||
def version_patch():
|
def version_patch():
|
||||||
if renpy.is_init_phase():
|
if renpy.is_init_phase():
|
||||||
|
Loading…
Reference in New Issue
Block a user