forked from mtcontrib/pdisc
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
4a94a65fd6 | |||
d7e352d2d7 | |||
7be2df43a3 | |||
aba56177a3 | |||
cd9c345420 | |||
|
948e6e3a8f |
2
mod.conf
Normal file
2
mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
name = pdisc
|
||||
description = A mod supposed to be used for programming robots in minetest
|
|
@ -34,7 +34,7 @@ s = {
|
|||
end
|
||||
local tocopy = {}
|
||||
local frmln = #fromprefix
|
||||
for name,v in pairs(thread.vars) do
|
||||
for name in pairs(thread.vars) do
|
||||
if name:sub(1, frmln) == fromprefix then
|
||||
tocopy[#tocopy+1] = name:sub(frmln+1)
|
||||
end
|
||||
|
@ -89,7 +89,7 @@ s = {
|
|||
end
|
||||
end,
|
||||
|
||||
mul = function(params)
|
||||
mul = function(params, faden)
|
||||
local p1,p2 = unpack(params)
|
||||
local t1 = type(p1)
|
||||
local t2 = type(p2)
|
||||
|
|
Loading…
Reference in New Issue
Block a user