mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 12:16:14 +01:00
Update Storage.gd
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user