This commit is contained in:
PfandBoss
2022-12-10 02:14:36 +01:00
parent d2094ff79d
commit d049e3c1ae
2 changed files with 7 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ enum STATE {INACTIVE, RELOADING, SHOOTING}
#------------Methods-------------#
func _ready():
var root = get_tree().root.get_child(0)
root.timeout.connect("shooting",self,"_on_signal_shooting")
root.shooting.connect(_on_signal_shooting)
maxStashValue = 1
currentStashValue = 0
currentState = STATE.INACTIVE