observers should use filter_with
Some checks are pending
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run

This commit is contained in:
Ukendio 2025-09-16 00:28:07 +02:00
parent e16e4a04e4
commit 4ed2fb7a40

View file

@ -27,7 +27,7 @@ local function observers_new<T...>(
callback = callback
local archetypes = {}
local terms = query.ids
local terms = query.filter_with :: { jecs.Id }
local first = terms[1]
local observers_on_create = world.observable[jecs.ArchetypeCreate][first]