forked from SilverStudioGames/WTS
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)
This commit is contained in:
parent
f78c269fc8
commit
3579e2a38b
@ -11,6 +11,7 @@ label give_gift(text, gift):
|
||||
hide screen gift
|
||||
with d3
|
||||
$ gift.owned -= 1
|
||||
return
|
||||
|
||||
screen gift(gift):
|
||||
zorder 30
|
||||
|
Loading…
x
Reference in New Issue
Block a user