You've already forked ComfyFactorio
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user