summaryrefslogtreecommitdiff
path: root/game/04_init.rpy
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-21 10:46:49 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-21 10:46:49 -0300
commit67d040a9cb1fead15e184c893631dd9e1590dc66 (patch)
tree0fbca99019a127e125ef62f42148433532f5d1af /game/04_init.rpy
parentd824e256f9e6482a10134d7ab6f124627f3dad88 (diff)
downloadclient-67d040a9cb1fead15e184c893631dd9e1590dc66.tar.gz
client-67d040a9cb1fead15e184c893631dd9e1590dc66.tar.bz2
client-67d040a9cb1fead15e184c893631dd9e1590dc66.tar.xz
client-67d040a9cb1fead15e184c893631dd9e1590dc66.zip
Hopefully this will not explode...
We DO need to restart interaction to update the AP bar.
Diffstat (limited to 'game/04_init.rpy')
-rw-r--r--game/04_init.rpy1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/04_init.rpy b/game/04_init.rpy
index 616d7fd..8384682 100644
--- a/game/04_init.rpy
+++ b/game/04_init.rpy
@@ -41,6 +41,7 @@ init python:
Player["ap"]=(int(":".join(message.split(':')[1:])))
# TODO: Reload timer (DynamicDisplayable(countdown, length=360.0))
Player["aptime"] = now()
+ renpy.restart_interaction() # I hope it does not explodes
return
except:
stdout("Error enacting APREFRESH!!")