Compare commits
2 commits
8c3631bf62
...
7be7c2959c
Author | SHA1 | Date | |
---|---|---|---|
7be7c2959c | |||
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