summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-18 15:11:27 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-18 15:11:27 -0300
commit736ba7a21e98debafd1cce8ff0b22e46562d5c61 (patch)
treeb38fde3783873f65a85c4d97b87aa4f2f80e3059 /game
parent9166ecb29d9c8083e5b12117ec77027c09aecdac (diff)
downloadclient-736ba7a21e98debafd1cce8ff0b22e46562d5c61.tar.gz
client-736ba7a21e98debafd1cce8ff0b22e46562d5c61.tar.bz2
client-736ba7a21e98debafd1cce8ff0b22e46562d5c61.tar.xz
client-736ba7a21e98debafd1cce8ff0b22e46562d5c61.zip
Game Update should be run in a non-blocking way as soon as socket is open.
It probably could begin running even before. First time you play you should barely notice downtime, now, but updates might impose to user the normal loading time.
Diffstat (limited to 'game')
-rw-r--r--game/script.rpy6
1 files changed, 1 insertions, 5 deletions
diff --git a/game/script.rpy b/game/script.rpy
index 0e0ed5d..c479932 100644
--- a/game/script.rpy
+++ b/game/script.rpy
@@ -51,11 +51,7 @@ label start:
$ stdout("Connection established!")
# Run updater
- python:
- tr_load=False
- renpy.invoke_in_thread(GAME_UPDATER)
- while not tr_load:
- sdelay()
+ $ renpy.invoke_in_thread(GAME_UPDATER)
# Open game
scene bg town with Dissolve(0.3)