Fixed typo
parent
def019e98d
commit
a3b52001ba
4
init.lua
4
init.lua
|
@ -113,8 +113,6 @@ minetest.register_globalstep(function(dtime)
|
|||
--]]
|
||||
for i=1,#nodes do
|
||||
--Spawn limit conditions
|
||||
--These are tracked by implimentation in the mobs - I can't think
|
||||
--of a better way to do it
|
||||
if spawned > max_no then
|
||||
break
|
||||
end
|
||||
|
@ -123,7 +121,7 @@ minetest.register_globalstep(function(dtime)
|
|||
elseif not passive and mobs.agressive.now > mobs.agressive.max then
|
||||
return
|
||||
end
|
||||
if mobs[mob.name].now > mobs[mob.name].max then
|
||||
if mobs[mob.name].now > mobs[mob.name].max_no then
|
||||
break
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue