mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 12:24:11 -04:00
Allow named worlds
This commit is contained in:
parent
d4efca976c
commit
d0e227485e
6 changed files with 50 additions and 7 deletions
|
@ -38,7 +38,7 @@ end
|
|||
-- @return A new initialized Bag
|
||||
function Component:__initialize(...)
|
||||
if self.__populate then
|
||||
local bag = setmetatable({}, self.__mt)
|
||||
local bag = setmetatable({}, self)
|
||||
self.__populate(bag, ...)
|
||||
|
||||
return bag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue