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
1 changed files with 1 additions and 0 deletions

View File

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