component: Fixed #33
This commit is contained in:
+5
-3
@@ -16,8 +16,8 @@ else
|
|||||||
LLcomponent = component
|
LLcomponent = component
|
||||||
end
|
end
|
||||||
|
|
||||||
--local ocelot = LLcomponent.proxy(LLcomponent.list("ocelot")())
|
-- local ocelot = LLcomponent.proxy(LLcomponent.list("ocelot")())
|
||||||
--ocelot.log("loaded")
|
-- ocelot.log("loaded")
|
||||||
|
|
||||||
_G.componentlib = { ["additions"] = {}, ["removals"] = {} }
|
_G.componentlib = { ["additions"] = {}, ["removals"] = {} }
|
||||||
compLib.virtual = {}
|
compLib.virtual = {}
|
||||||
@@ -130,7 +130,9 @@ setmetatable(compLib, {
|
|||||||
if LLcomponent.list(item)() then
|
if LLcomponent.list(item)() then
|
||||||
return compLib.proxy(compLib.list(item)())
|
return compLib.proxy(compLib.list(item)())
|
||||||
else
|
else
|
||||||
return compLib[item]
|
-- Why did I ever fucking write this??
|
||||||
|
-- return compLib[item]
|
||||||
|
return nil
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user