From 38787bdc4c76b87be2c465b29412f93697a06f26 Mon Sep 17 00:00:00 2001 From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Fri, 17 Nov 2023 02:49:44 +0100 Subject: [PATCH] Add safe return otherwise the implicit return is at the end of the file, which means if we add another label down the file, it will be executed after give_gift --- game/scripts/interface/gifts.rpy | 1 + 1 file changed, 1 insertion(+) diff --git a/game/scripts/interface/gifts.rpy b/game/scripts/interface/gifts.rpy index c093b3bf..c65c9627 100644 --- a/game/scripts/interface/gifts.rpy +++ b/game/scripts/interface/gifts.rpy @@ -9,6 +9,7 @@ label give_gift(text, gift): hide screen gift with d3 $ gift.owned -= 1 + return screen gift(gift): zorder 30