lua valid ok

This commit is contained in:
2026-02-20 17:19:19 +01:00
parent 97de3cd6e6
commit 07dd002c3b
2 changed files with 40 additions and 24 deletions

View File

@@ -8,9 +8,15 @@ end
function module.assertparam(param)
assert(param)
return 0
end
function module.checkglobal(param, index)
function module.checkglobal(param)
local res = tm.gd(param)
return res
end
function module.checkglobal2(index)
return tm.gd("lua_data_to_be_returned")[index]
end