mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-24 00:54:22 +00:00
Fix sheep loving wandering a bit too much
This commit is contained in:
parent
6853154a54
commit
a85cb2d55d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ func _ready():
|
||||||
rand_walk_timer.one_shot = true;
|
rand_walk_timer.one_shot = true;
|
||||||
rand_walk_timer.connect("timeout", _on_timer_timeout)
|
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()
|
init_timer()
|
||||||
|
|
||||||
func _physics_process(delta: float) -> void:
|
func _physics_process(delta: float) -> void:
|
||||||
|
|
Loading…
Reference in a new issue