1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-11-27 22:38:18 +02:00

More refactor and performance fixes

This commit is contained in:
Gerkiz
2025-10-26 01:00:31 +02:00
parent 27aaef3762
commit c43ec325cb
22 changed files with 5094 additions and 4476 deletions

View File

@@ -79,12 +79,11 @@ Global.register(
this,
function (tbl)
this = tbl
for _, command in pairs(this.commands) do
setmetatable(command, Public.metatable)
end
end
)
script.register_metatable('CommandData', Public.metatable)
local function conv(v)
if tonumber(v) then
return tonumber(v)