From 5ade34115cff228994ff3fd680aa15c8225ab6e7 Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Sat, 17 Apr 2021 13:17:29 -0400 Subject: [PATCH] Remove random state initialization in set_up.lua --- mods/ENTITIES/mcl_mobs/api/mob_functions/set_up.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/set_up.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/set_up.lua index 1d48d52f70..1fee55217d 100644 --- a/mods/ENTITIES/mcl_mobs/api/mob_functions/set_up.lua +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/set_up.lua @@ -2,8 +2,6 @@ local math_random = math.random local minetest_settings = minetest.settings -local state_randomization = {"stand", "walk"} - -- get entity staticdata mobs.mob_staticdata = function(self) @@ -26,7 +24,6 @@ mobs.mob_staticdata = function(self) self.remove_ok = true self.attack = nil self.following = nil - self.state = state_randomization[math.random(1,#state_randomization)] if use_cmi then self.serialized_cmi_components = cmi.serialize_components(self._cmi_components)