aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2020-07-02 19:05:06 +0200
committerGitHub <noreply@github.com>2020-07-02 19:05:06 +0200
commit3f702fa1a9ace33111256ed7b7d5579099830015 (patch)
treedfb61a48aa90df86c5fdda4237bcebdf80109969 /games
parent7be082f9a8bb6bd46c226d7ef4c42f0fd9fe7314 (diff)
downloadminetest-3f702fa1a9ace33111256ed7b7d5579099830015.tar.gz
minetest-3f702fa1a9ace33111256ed7b7d5579099830015.tar.bz2
minetest-3f702fa1a9ace33111256ed7b7d5579099830015.zip
Fix undeclared global in devtest (#10133)
Diffstat (limited to 'games')
-rw-r--r--games/devtest/mods/experimental/commands.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/devtest/mods/experimental/commands.lua b/games/devtest/mods/experimental/commands.lua
index 96f8cbe39..158e5039d 100644
--- a/games/devtest/mods/experimental/commands.lua
+++ b/games/devtest/mods/experimental/commands.lua
@@ -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]