summaryrefslogtreecommitdiff
path: root/game/03_init.rpy
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-18 22:24:02 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-18 22:24:02 -0300
commitc770a38e66e425877c3cc911cfe2426d839a8fb7 (patch)
tree70969f3db34750f2e53dd00f472224798e3e9bb1 /game/03_init.rpy
parent3c29f978863df91cbfdc8ecd4fea7c2151e0b69b (diff)
downloadclient-c770a38e66e425877c3cc911cfe2426d839a8fb7.tar.gz
client-c770a38e66e425877c3cc911cfe2426d839a8fb7.tar.bz2
client-c770a38e66e425877c3cc911cfe2426d839a8fb7.tar.xz
client-c770a38e66e425877c3cc911cfe2426d839a8fb7.zip
Make easier to hide the placeholder spinner in case of error, by assigning a tag
to it if not provided
Diffstat (limited to 'game/03_init.rpy')
-rw-r--r--game/03_init.rpy3
1 files changed, 3 insertions, 0 deletions
diff --git a/game/03_init.rpy b/game/03_init.rpy
index 90b4b3b..6c858fd 100644
--- a/game/03_init.rpy
+++ b/game/03_init.rpy
@@ -275,6 +275,9 @@ init python:
tag=img
path=None
if show:
+ if tag is None:
+ tag=img
+ print("tag is %s" % str(tag))
renpy.show("spinner", at_list=at_list, tag=tag, zorder=zorder, behind=behind, atl=atl, what=what, layer=layer) # TODO Show error
return
# TODO: “Retry?”