1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-05 01:50:25 +01:00

fix mobs crash

This commit is contained in:
crabman77 2015-08-25 20:31:39 +02:00
parent e76c901b03
commit 0283bec348

View File

@ -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