v1.10.0 - Improved the component library to add things like component.gpu.

This commit is contained in:
TheWahlolly
2025-06-15 18:30:48 +03:00
parent e4cf929fce
commit 9b4c76b71d
10 changed files with 50 additions and 40 deletions
+9
View File
@@ -84,4 +84,13 @@ function compLib.get(address)
return nil, "full address not found"
end
-- Add main component proxies to the library
setmetatable(compLib, {["__index"] = function(_, item)
if compLib.list(item)() then
return compLib.proxy(compLib.list(item)())
else
return compLib[item]
end
end})
return compLib