Fix undeclared global in devtest (#10133)

This commit is contained in:
Wuzzy 2020-07-02 19:05:06 +02:00 committed by GitHub
parent 7be082f9a8
commit 3f702fa1a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -113,6 +113,7 @@ local function place_nodes(param)
table.sort(nodes) table.sort(nodes)
minetest.chat_send_player(name, "Placing nodes …") minetest.chat_send_player(name, "Placing nodes …")
local nodes_placed = 0 local nodes_placed = 0
local aborted = false
for n=1, #nodes do for n=1, #nodes do
local itemstring = nodes[n] local itemstring = nodes[n]
local def = minetest.registered_nodes[itemstring] local def = minetest.registered_nodes[itemstring]