mirror of
https://github.com/Ukendio/jecs.git
synced 2025-11-03 18:39:19 +00:00
observers should use filter_with
Some checks are pending
Some checks are pending
This commit is contained in:
parent
e16e4a04e4
commit
4ed2fb7a40
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue