mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
Don't reset size for children
This commit is contained in:
parent
ed8dc1d137
commit
7f4443b76f
@ -3593,7 +3593,7 @@ local mob_activate = function(self, staticdata, def, dtime)
|
|||||||
if not self.nametag then
|
if not self.nametag then
|
||||||
self.nametag = def.nametag
|
self.nametag = def.nametag
|
||||||
end
|
end
|
||||||
if not self.custom_visual_size then
|
if not self.custom_visual_size and not self.child then
|
||||||
-- Remove saved visual_size on old existing entites.
|
-- Remove saved visual_size on old existing entites.
|
||||||
-- Old entities were 3 now it's 1.
|
-- Old entities were 3 now it's 1.
|
||||||
self.visual_size = nil
|
self.visual_size = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user