forked from mtcontrib/pdisc
Compare commits
No commits in common. "master" and "nalc-1.2.0" have entirely different histories.
master
...
nalc-1.2.0
2
mod.conf
2
mod.conf
|
@ -1,2 +0,0 @@
|
||||||
name = pdisc
|
|
||||||
description = A mod supposed to be used for programming robots in minetest
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user