From 6b6732bdec552825fae2be693544a3ab9d3d7cc6 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 13 May 2024 21:39:55 +0200 Subject: [PATCH] change schedule --- src/menu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/menu.rs b/src/menu.rs index 3bdb1f4..8ee95bd 100644 --- a/src/menu.rs +++ b/src/menu.rs @@ -22,7 +22,7 @@ impl Plugin for MenuPlugin { app.add_systems(Startup, setup.after(hud::setup)); app.add_systems(PreUpdate, show_deathscreen.run_if(on_event::())); app.add_systems(Update, handle_deathscreen_input); - app.add_systems(PostUpdate, update_menu.run_if(on_event::())); + app.add_systems(PreUpdate, update_menu.run_if(on_event::())); app.add_systems(Update, handle_input.run_if(alive)); app.insert_resource(DeathScreenInputDelayTimer( Timer::from_seconds(1.0, TimerMode::Once)));