From c770a38e66e425877c3cc911cfe2426d839a8fb7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 18 Dec 2020 22:24:02 -0300 Subject: Make easier to hide the placeholder spinner in case of error, by assigning a tag to it if not provided --- game/03_init.rpy | 3 +++ 1 file changed, 3 insertions(+) (limited to 'game/03_init.rpy') 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?” -- cgit v1.2.3-60-g2f50