diff --git a/behaviours/random_walk.gd b/behaviours/random_walk.gd index 4d7eec9..9d7fe0f 100644 --- a/behaviours/random_walk.gd +++ b/behaviours/random_walk.gd @@ -27,7 +27,7 @@ func _ready(): rand_walk_timer.one_shot = true; rand_walk_timer.connect("timeout", _on_timer_timeout) - state_holder.on_changed.connect(init_timer) + state_holder.on_changed.connect(init_timer.unbind(2)) init_timer() func _physics_process(delta: float) -> void: