mirror of
https://github.com/ElCeejo/animalia
synced 2025-09-03 01:56:25 +02:00
Fix bug 2
This commit is contained in:
parent
e3a610dd78
commit
78e7b8bb44
@ -635,6 +635,7 @@ end)
|
|||||||
creatura.register_utility("animalia:boid_wander", function(self, group)
|
creatura.register_utility("animalia:boid_wander", function(self, group)
|
||||||
local idle_time = 3
|
local idle_time = 3
|
||||||
local move_probability = 5
|
local move_probability = 5
|
||||||
|
local far_from_group = false
|
||||||
local group_tick = 1
|
local group_tick = 1
|
||||||
local function func(self)
|
local function func(self)
|
||||||
local pos = self.object:get_pos()
|
local pos = self.object:get_pos()
|
||||||
|
Loading…
Reference in New Issue
Block a user