From 78e7b8bb440248567cb94b8cf00751c1ed050e94 Mon Sep 17 00:00:00 2001 From: ElCeejo <40281901+ElCeejo@users.noreply.github.com> Date: Thu, 14 Jul 2022 15:42:43 -0700 Subject: [PATCH] Fix bug 2 --- api/behaviors.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/api/behaviors.lua b/api/behaviors.lua index 3ea7049..026f789 100644 --- a/api/behaviors.lua +++ b/api/behaviors.lua @@ -635,6 +635,7 @@ end) creatura.register_utility("animalia:boid_wander", function(self, group) local idle_time = 3 local move_probability = 5 + local far_from_group = false local group_tick = 1 local function func(self) local pos = self.object:get_pos()