Compare commits

..

No commits in common. "master" and "nalc-1.2.0" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -1,2 +0,0 @@
name = pdisc
description = A mod supposed to be used for programming robots in minetest

View File

@ -34,7 +34,7 @@ s = {
end end
local tocopy = {} local tocopy = {}
local frmln = #fromprefix local frmln = #fromprefix
for name in pairs(thread.vars) do for name,v in pairs(thread.vars) do
if name:sub(1, frmln) == fromprefix then if name:sub(1, frmln) == fromprefix then
tocopy[#tocopy+1] = name:sub(frmln+1) tocopy[#tocopy+1] = name:sub(frmln+1)
end end
@ -89,7 +89,7 @@ s = {
end end
end, end,
mul = function(params, faden) mul = function(params)
local p1,p2 = unpack(params) local p1,p2 = unpack(params)
local t1 = type(p1) local t1 = type(p1)
local t2 = type(p2) local t2 = type(p2)