diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-18 22:24:02 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-18 22:24:02 -0300 |
commit | c770a38e66e425877c3cc911cfe2426d839a8fb7 (patch) | |
tree | 70969f3db34750f2e53dd00f472224798e3e9bb1 /game | |
parent | 3c29f978863df91cbfdc8ecd4fea7c2151e0b69b (diff) | |
download | client-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')
-rw-r--r-- | game/03_init.rpy | 3 |
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?” |