Summary (required)

This commit is contained in:
Arthur
2022-12-10 03:02:44 +01:00
parent 359c3cf1f1
commit 2a46b39a4d
3 changed files with 4 additions and 5 deletions

View File

@@ -14,10 +14,10 @@ func _ready():
currentStashValue = 0
func interact():
if currentStashValue >= 1:
--currentStashValue
currentStashValue -= 1
return
func _on_signal_storing():
if currentStashValue < maxStashValue:
++currentStashValue
currentStashValue += 1
return