1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-11-13 05:50:17 +01:00

fix baby mob textures when grown

This commit is contained in:
tenplus1 2024-04-25 08:29:48 +01:00
parent c4561a2207
commit e9180febc6

View File

@ -14,7 +14,7 @@ local use_vh1 = minetest.get_modpath("visual_harm_1ndicators")
-- Global
mobs = {
mod = "redo",
version = "20240408",
version = "20240425",
translate = S,
invis = minetest.global_exists("invisibility") and invisibility or {},
node_snow = minetest.registered_aliases["mapgen_snow"]
@ -1480,9 +1480,9 @@ function mob_class:breed()
-- using specific child texture (if found)
if self.child_texture then
textures = self.child_texture[1]
ent2.mommy_tex = self.base_texture -- when grown
end
ent2.mommy_tex = self.base_texture -- when grown
ent2.object:set_properties({textures = textures})
ent2.base_texture = textures
end