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
This commit is contained in:
Gouvernathor 2023-11-17 02:49:44 +01:00
parent aefa88e4d2
commit 38787bdc4c

View File

@ -9,6 +9,7 @@ label give_gift(text, gift):
hide screen gift hide screen gift
with d3 with d3
$ gift.owned -= 1 $ gift.owned -= 1
return
screen gift(gift): screen gift(gift):
zorder 30 zorder 30