//smake: fix luacheck warnings

This commit is contained in:
Starbeamrainbowlabs 2022-01-03 13:28:43 +00:00
parent 4c7bb6a980
commit 3d12345972
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ worldedit.register_command("smake", {
end, end,
func = function(name, oper, mode, targ, base) func = function(name, oper, mode, targ, base)
local p1, p2 = vector.new(worldedit.pos1[name]), vector.new(worldedit.pos2[name]) local p1, p2 = vector.new(worldedit.pos1[name]), vector.new(worldedit.pos2[name])
local eval = function() end -- Declare eval placeholder function to edit later local eval -- Declare eval placeholder function to edit later
local delta = vector.subtract(p2,p1) -- local delta equation: Vd(a) = V2(a) - V1(a) local delta = vector.subtract(p2,p1) -- local delta equation: Vd(a) = V2(a) - V1(a)
local _tl = #targ -- Get targ length as a variable incase mode is "average"/"avg" local _tl = #targ -- Get targ length as a variable incase mode is "average"/"avg"