diff --git a/mobf/spawn_algorithms/at_night.lua b/mobf/spawn_algorithms/at_night.lua index 11bbd97..7f85c7d 100644 --- a/mobf/spawn_algorithms/at_night.lua +++ b/mobf/spawn_algorithms/at_night.lua @@ -45,7 +45,6 @@ function mobf_spawn_at_night(mob_name,mob_transform,spawning_data,environment) interval = 20, chance = math.floor(1/spawning_data.rate), action = function(pos, node, active_object_count, active_object_count_wider) - local starttime = mobf_get_time_ms() local gametime = minetest.get_timeofday() if gametime > 0.25 and @@ -109,7 +108,6 @@ function mobf_spawn_at_night(mob_name,mob_transform,spawning_data,environment) end end mobf_warn_long_fct(starttime,"mobf_spawn_at_night") - mobf_warn_long_fct(starttime,"at_night_abm","abm") end, }) end