Skip to content

Commit

Permalink
Fix undeclared global in devtest (#10133)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy2 committed Jul 2, 2020
1 parent 7be082f commit 3f702fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions games/devtest/mods/experimental/commands.lua
Expand Up @@ -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]
Expand Down

0 comments on commit 3f702fa

Please sign in to comment.