Better syntax
This commit is contained in:
@@ -78,8 +78,8 @@ local getObject = function(id)
|
|||||||
return getObjects()[id]
|
return getObjects()[id]
|
||||||
end
|
end
|
||||||
|
|
||||||
local createObject = function(objectName, id, basalt)
|
local createObject = function(self, objectName, id)
|
||||||
return getObject(objectName)(id, basalt)
|
return getObject(objectName)(id, self)
|
||||||
end
|
end
|
||||||
|
|
||||||
local bInstance = {
|
local bInstance = {
|
||||||
|
|||||||
Reference in New Issue
Block a user