1
Fork 0
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:
Lorenzo Rossi 2024-04-16 01:07:41 +02:00
parent 6853154a54
commit a85cb2d55d

View file

@ -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: