From a85cb2d55d0d7a1904f59e9bd4016e8fc51e865c Mon Sep 17 00:00:00 2001 From: Lorenzo Rossi Date: Tue, 16 Apr 2024 01:07:41 +0200 Subject: [PATCH] Fix sheep loving wandering a bit too much --- behaviours/random_walk.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: