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
|
for i=1,#nodes do
|
||||||
--Spawn limit conditions
|
--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
|
if spawned > max_no then
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
@ -123,7 +121,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
elseif not passive and mobs.agressive.now > mobs.agressive.max then
|
elseif not passive and mobs.agressive.now > mobs.agressive.max then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if mobs[mob.name].now > mobs[mob.name].max then
|
if mobs[mob.name].now > mobs[mob.name].max_no then
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue