Update Storage.gd

This commit is contained in:
Arthur
2022-12-10 03:20:51 +01:00
parent 701f0bfee9
commit d427fa82f1

View File

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