mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-11 09:39:34 +01:00
Fix spawn timer reset debug
This commit is contained in:
parent
310dcf9660
commit
4fca50dead
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ if mobs_spawn then
|
||||||
minetest.register_globalstep(function(dtime)
|
minetest.register_globalstep(function(dtime)
|
||||||
timer = timer + dtime
|
timer = timer + dtime
|
||||||
if timer >= 15 then
|
if timer >= 15 then
|
||||||
timer = 15--0
|
timer = 0--15
|
||||||
for _,player in ipairs(minetest.get_connected_players()) do
|
for _,player in ipairs(minetest.get_connected_players()) do
|
||||||
for i = 1,math.random(5) do
|
for i = 1,math.random(5) do
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue