Fix critical issue with deleted entity being swapped with the last
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled

This commit is contained in:
Ukendio 2025-02-20 22:55:07 +01:00
parent 1b96975b53
commit 3815c62442

View file

@ -946,7 +946,6 @@ local function archetype_delete(world: World, archetype: Archetype, row: number,
end end
entities[row] = move entities[row] = move
delete = entities[row]
end end
for _, id in id_types do for _, id in id_types do