Allow named assemblages

This commit is contained in:
Tjakka5 2019-12-19 20:19:02 +01:00
parent d0e227485e
commit 276a053b7f
6 changed files with 56 additions and 9 deletions

View file

@ -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, {