1
0
Fork 0

Remove random state initialization in set_up.lua

This commit is contained in:
jordan4ibanez 2021-04-17 13:17:29 -04:00
parent d9729fc865
commit 5ade34115c
1 changed files with 0 additions and 3 deletions

View File

@ -2,8 +2,6 @@ local math_random = math.random
local minetest_settings = minetest.settings local minetest_settings = minetest.settings
local state_randomization = {"stand", "walk"}
-- get entity staticdata -- get entity staticdata
mobs.mob_staticdata = function(self) mobs.mob_staticdata = function(self)
@ -26,7 +24,6 @@ mobs.mob_staticdata = function(self)
self.remove_ok = true self.remove_ok = true
self.attack = nil self.attack = nil
self.following = nil self.following = nil
self.state = state_randomization[math.random(1,#state_randomization)]
if use_cmi then if use_cmi then
self.serialized_cmi_components = cmi.serialize_components(self._cmi_components) self.serialized_cmi_components = cmi.serialize_components(self._cmi_components)