mirror of
https://github.com/HybridDog/pdisc.git
synced 2024-11-17 15:48:33 +01:00
fix weird nonsense less instruction code
M standardbefehlssatz.lua
This commit is contained in:
parent
79fd928b68
commit
4b5455dcc6
@ -201,16 +201,12 @@ s = {
|
|||||||
if #params ~= 2 then
|
if #params ~= 2 then
|
||||||
return false, WNOA
|
return false, WNOA
|
||||||
end
|
end
|
||||||
local t1 = type(p1)
|
local p1,p2 = unpack(params)
|
||||||
local t2 = type(p2)
|
if type(p1) ~= "number"
|
||||||
if t1 ~= t2 then
|
or type(p2) ~= "number" then
|
||||||
return false, "different argument types"
|
|
||||||
end
|
|
||||||
if t1 ~= "number"
|
|
||||||
and t1 ~= "string" then
|
|
||||||
return false, UAT
|
return false, UAT
|
||||||
end
|
end
|
||||||
return true, params[1] < params[2]
|
return true, p1 < p2
|
||||||
end,
|
end,
|
||||||
|
|
||||||
usleep = function(params, faden)
|
usleep = function(params, faden)
|
||||||
|
Loading…
Reference in New Issue
Block a user