mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-01 20:03:55 -04:00
Allow named assemblages
This commit is contained in:
parent
d0e227485e
commit
276a053b7f
6 changed files with 56 additions and 9 deletions
|
@ -19,7 +19,7 @@ function Worlds.register(name, world)
|
|||
error("bad argument #2 to 'Worlds.register' (World with name '"..name.."' is already registerd)", 3)
|
||||
end
|
||||
|
||||
Worlds[name] = component
|
||||
Worlds[name] = world
|
||||
end
|
||||
|
||||
return setmetatable(Worlds, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue