mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-05 10:00:26 +01:00
fix mobs crash
This commit is contained in:
parent
e76c901b03
commit
0283bec348
|
@ -1058,12 +1058,12 @@ end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- select random texture, set model and size
|
-- select random texture, set model and size
|
||||||
--if not self.base_texture then
|
if not self.base_texture then
|
||||||
self.base_texture = def.textures[math.random(1, #def.textures)]
|
self.base_texture = def.textures[math.random(1, #def.textures)]
|
||||||
self.base_mesh = def.mesh
|
self.base_mesh = def.mesh
|
||||||
self.base_size = def.visual_size
|
self.base_size = self.visual_size
|
||||||
self.base_colbox = def.collisionbox
|
self.base_colbox = self.collisionbox
|
||||||
--end
|
end
|
||||||
|
|
||||||
-- set texture, model and size
|
-- set texture, model and size
|
||||||
local textures = self.base_texture
|
local textures = self.base_texture
|
||||||
|
|
Loading…
Reference in New Issue
Block a user