Fix assertion due to missing mob density

This commit is contained in:
sapier 2014-07-12 20:17:35 +02:00
parent 33bf2d2f5b
commit 4cc2765edb

View File

@ -351,7 +351,7 @@ function spawning.population_density_check(entity,now)
local mob_count = mobf_mob_around(entity.data.modname..":"..entity.data.name,
secondary_name,
entitypos,
entity.dynamic_data.spawning.density,
check_density,
true)
if mob_count > 5 then
dbg_mobf.spawning_lvl1("MOBF: " .. entity.data.name ..