fixes cheatmenu, reimpl particle ticker

This commit is contained in:
Llywelwyn 2023-09-24 23:56:29 +01:00
parent 0d4c0c9558
commit 7f9ba34afa
5 changed files with 27 additions and 57 deletions

View file

@ -169,7 +169,7 @@ impl State {
let runstate = self.ecs.fetch::<RunState>();
new_runstate = *runstate;
}
// Particle ticker here
particle_system::particle_ticker(&mut self.ecs, ctx);
match new_runstate {
RunState::PreRun => {
self.run_systems();
@ -377,7 +377,7 @@ impl State {
ctx.cls();
ctx.set_active_console(0);
ctx.cls();
particle_system::particle_ticker(&mut self.ecs, ctx);
//particle_system::particle_ticker(&mut self.ecs, ctx);
match new_runstate {
RunState::MainMenu { .. } => {}