Compare commits

..

6 Commits

Author SHA1 Message Date
4a94a65fd6 Merge remote-tracking branch 'upstream/master' 2022-08-26 15:22:24 +02:00
d7e352d2d7 Add mod.conf 2022-07-02 13:26:22 +02:00
7be2df43a3 Merge branch 'github' 2022-06-26 12:57:09 +02:00
aba56177a3 Add mod.conf 2022-06-26 12:54:08 +02:00
cd9c345420 Merge remote-tracking branch 'upstream/master' 2021-01-19 23:31:23 +01:00
HybridDog
948e6e3a8f Add a missing parameter to mul 2021-01-17 17:16:35 +01:00
2 changed files with 4 additions and 2 deletions

2
mod.conf Normal file
View File

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

View File

@ -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)