Compare commits
1 commit
7be7c2959c
...
8c3631bf62
Author | SHA1 | Date | |
---|---|---|---|
8c3631bf62 |
1 changed files with 1 additions and 1 deletions
|
@ -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(());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue