Fix ecs changes

This commit is contained in:
hodasemi 2025-03-06 15:37:56 +01:00
parent 37206c9e9d
commit 2dddb4a5ea

View file

@ -156,7 +156,7 @@ impl Scene {
let now = world.now(); let now = world.now();
if !particle_system.update(now) { if !particle_system.update(now) {
world.remove_entity(entity)?; world.remove_entity(entity);
return Ok(()); return Ok(());
} }