mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-06 01:50:21 +02:00
Fixed merge mistake leading to crash
This commit is contained in:
@ -819,7 +819,7 @@ function mobs:register_mob(name, def)
|
||||
get_staticdata = function(self)
|
||||
-- select random texture, set model
|
||||
if not self.base_texture then
|
||||
self.base_texture = def.textures[math.random(1,#def.textures)]
|
||||
self.base_texture = def.available_textures["texture_"..math.random(1,def.available_textures["total"])]
|
||||
self.base_mesh = def.mesh
|
||||
end
|
||||
-- set texture, model and size
|
||||
|
Reference in New Issue
Block a user