From 736ba7a21e98debafd1cce8ff0b22e46562d5c61 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 18 Dec 2020 15:11:27 -0300 Subject: 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. --- game/script.rpy | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'game') 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) -- cgit v1.2.3-70-g09d2