mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 09:30:03 +00:00
OnRemove invoked before remove
This commit is contained in:
parent
b57239fac2
commit
7c6184daae
1 changed files with 1 additions and 0 deletions
|
@ -1001,6 +1001,7 @@ TEST("Hooks", function()
|
||||||
CHECK(world:has(e1, A))
|
CHECK(world:has(e1, A))
|
||||||
end)
|
end)
|
||||||
world:remove(e1, A)
|
world:remove(e1, A)
|
||||||
|
CHECK(not world:has(e1, A))
|
||||||
end
|
end
|
||||||
|
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in a new issue