Fix gold cup spawning at start of game

This commit is contained in:
Wuzzy 2018-09-13 14:40:16 +02:00
parent d945871935
commit fe9a743812
20 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -87,7 +87,7 @@ local function load_entities_area(minp, maxp)
local count = 0 local count = 0
for n=1, #nodes do for n=1, #nodes do
local timer = minetest.get_node_timer(nodes[n]) local timer = minetest.get_node_timer(nodes[n])
timer:start(1) timer:start(0)
count = count + 1 count = count + 1
end end
minetest.log("action", "[tutorial] " .. count .. " item spawners loaded") minetest.log("action", "[tutorial] " .. count .. " item spawners loaded")
@ -97,7 +97,7 @@ local function init_item_spawners(spawners)
local count = 0 local count = 0
for n=1, #spawners do for n=1, #spawners do
local timer = minetest.get_node_timer(spawners[n]) local timer = minetest.get_node_timer(spawners[n])
timer:start(1) timer:start(0)
count = count + 1 count = count + 1
end end
minetest.log("action", "[tutorial] " .. count .. " item spawners initialized") minetest.log("action", "[tutorial] " .. count .. " item spawners initialized")