mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-08-20 05:24:20 +02:00
//smake: fix luacheck warnings
This commit is contained in:
parent
4c7bb6a980
commit
3d12345972
@ -65,7 +65,7 @@ worldedit.register_command("smake", {
|
||||
end,
|
||||
func = function(name, oper, mode, targ, base)
|
||||
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 _tl = #targ -- Get targ length as a variable incase mode is "average"/"avg"
|
||||
|
Loading…
Reference in New Issue
Block a user