OnRemove invoked before remove

This commit is contained in:
Ukendio 2024-08-11 04:19:42 +02:00
parent b57239fac2
commit 7c6184daae

View file

@ -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)