a bit stricter luacheck and some global leakage fixes

This commit is contained in:
BuckarooBanzay
2020-06-18 11:49:04 +02:00
parent f3fbd1f75d
commit 6525f11a5d
4 changed files with 4 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ else
S = function (s) return s end
end
function technic_homedecor_node_is_owned(pos, placer)
local function technic_homedecor_node_is_owned(pos, placer)
local ownername = false
if type(isprotect) == "function" then -- glomie's protection mod
if not isprotect(5, pos, placer) then