From 3579e2a38b78780654b654246206582baf23315d 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 (cherry picked from commit 38787bdc4c76b87be2c465b29412f93697a06f26) --- 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 99cd351d..65b30373 100644 --- a/game/scripts/interface/gifts.rpy +++ b/game/scripts/interface/gifts.rpy @@ -11,6 +11,7 @@ label give_gift(text, gift): hide screen gift with d3 $ gift.owned -= 1 + return screen gift(gift): zorder 30