diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-11-23 10:54:51 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-11-23 10:54:51 -0300 |
commit | aeb4a95746cfd1c1073a6dcd9cee972e5bdfc59c (patch) | |
tree | 465a4931f4d37f0ad26b96d364ab5181052772a8 /game/core.rpy | |
parent | 8064d3bbae46ad23b456dfcf16b4f0836cc57050 (diff) | |
download | renpy-aeb4a95746cfd1c1073a6dcd9cee972e5bdfc59c.tar.gz renpy-aeb4a95746cfd1c1073a6dcd9cee972e5bdfc59c.tar.bz2 renpy-aeb4a95746cfd1c1073a6dcd9cee972e5bdfc59c.tar.xz renpy-aeb4a95746cfd1c1073a6dcd9cee972e5bdfc59c.zip |
*Somehow* fix the broken button. Don't ask how.
Diffstat (limited to 'game/core.rpy')
-rw-r--r-- | game/core.rpy | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/game/core.rpy b/game/core.rpy index 7d6bce4..ebae01b 100644 --- a/game/core.rpy +++ b/game/core.rpy @@ -206,6 +206,8 @@ init 10 python: handle_client(launch=True, download=False)): md5check_client(silent=True) + persistent.last_run = now() + ######### Done with pre-init label splashscreen: show TMW2 at truecenter with fade @@ -320,10 +322,9 @@ init -4 python: renpy.arguments.register_command('adv', parse_command) - label main_menu: ## Autolaunch - Skip main menu - if AUTOLAUNCH: + if AUTOLAUNCH and persistent.last_run in range(now()-5, now()+1): $stdout("Auto-launching...") $AUTOLAUNCH=False return |