From aeb4a95746cfd1c1073a6dcd9cee972e5bdfc59c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 23 Nov 2021 10:54:51 -0300 Subject: *Somehow* fix the broken button. Don't ask how. --- game/core.rpy | 5 +++-- 1 file 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 -- cgit v1.2.3-70-g09d2