fixed mob spawning

master
tenplus1 2020-07-27 08:00:27 +01:00
parent 9348a169fc
commit 2123c38714
2 changed files with 4 additions and 3 deletions

View File

@ -5,8 +5,6 @@ nssm = {
multimobs = tonumber(minetest.setting_get('multimobs')) or 1000
}
dofile(path.."/spawn.lua")
-- Mobs
dofile(path.."/mobs/ant_queen.lua")
dofile(path.."/mobs/ant_soldier.lua")
@ -78,4 +76,7 @@ if minetest.get_modpath("3d_armor") then
dofile(path.."/nssm_armor.lua")
end
--Spawn settings
dofile(path.."/spawn.lua")
print("[MOD] NSSM loaded")

View File

@ -4,7 +4,7 @@
local mymapgenis = nssm.mymapgenis
local mm = nssm.multimobs
if (mymapgenis ~= 6) and (mymapgenis ~= 7) then
if mymapgenis ~= 6 and mymapgenis ~= 7 then
mymapgenis = 7
end