Fix ecs changes
This commit is contained in:
parent
37206c9e9d
commit
2dddb4a5ea
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ impl Scene {
|
|||
let now = world.now();
|
||||
|
||||
if !particle_system.update(now) {
|
||||
world.remove_entity(entity)?;
|
||||
world.remove_entity(entity);
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue