From aca105aaa5fd0468be24a53a08f5e8861f67187d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 18 Dec 2020 19:20:25 -0300 Subject: An "overlook" aka. bug --- game/misc.rpy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'game') diff --git a/game/misc.rpy b/game/misc.rpy index 0471dc8..ab08095 100644 --- a/game/misc.rpy +++ b/game/misc.rpy @@ -311,6 +311,8 @@ init python: global ApTimer, Player running=False + # FIXME ApTimer might not have been started =/ + # And in overall is horrible and a waste of resources if (Player["ap"] < Player["max_ap"]): running=True @@ -324,7 +326,10 @@ init python: ApTimer.daemon=True ApTimer.start() if (running and Player["ap"] >= Player["max_ap"]): - ApTimer.cancel() + try: + ApTimer.cancel() + except: + pass return -- cgit v1.2.3-70-g09d2