delayed particles

This commit is contained in:
Llywelwyn 2023-07-29 20:29:29 +01:00
parent 9ed37d31b5
commit b4c80b919e
2 changed files with 112 additions and 10 deletions

View file

@ -251,7 +251,7 @@ impl GameState for State {
}
// Clear screen
ctx.cls();
particle_system::cull_dead_particles(&mut self.ecs, ctx);
particle_system::particle_ticker(&mut self.ecs, ctx);
match new_runstate {
RunState::MainMenu { .. } => {}