Keep export world

This commit is contained in:
Marcus 2024-04-30 16:19:24 +02:00 committed by GitHub
parent c0b710d2c2
commit ab3f44004f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -194,7 +194,7 @@ local function onNotifyAdd(world, archetype, otherArchetype, row: number, added:
end
type World = typeof(World.new())
export type World = typeof(World.new())
local function ensureArchetype(world: World, types, prev)
if #types < 1 then
@ -581,4 +581,4 @@ return table.freeze({
ON_ADD = ON_ADD,
ON_REMOVE = ON_REMOVE,
ON_SET = ON_SET
})
})