From cfd4bb2423899c3003b072907d2e57b55d35108f Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Wed, 3 Apr 2019 10:26:20 -0700 Subject: [PATCH] Last of the luacheck cleanups. --- pos.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pos.lua b/pos.lua index 976e31a..be0ef20 100644 --- a/pos.lua +++ b/pos.lua @@ -43,7 +43,7 @@ minetest.register_chatcommand("area_pos1", { .." location or the one specified", privs = {}, func = function(name, param) - local pos = nil + local pos local found, _, x, y, z = param:find( "^(-?%d+)[, ](-?%d+)[, ](-?%d+)$") if found then @@ -70,7 +70,7 @@ minetest.register_chatcommand("area_pos2", { description = "Set area protection region position 2 to your" .." location or the one specified", func = function(name, param) - local pos = nil + local pos local found, _, x, y, z = param:find( "^(-?%d+)[, ](-?%d+)[, ](-?%d+)$") if found then