From 59fefad6d3082d8b3d28821df7ff06cd8312fe36 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 14 May 2024 18:11:18 +0200 Subject: [PATCH] draw visual effects on top of menu/hud --- src/visual.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visual.rs b/src/visual.rs index 74a8376..b4bbe1a 100644 --- a/src/visual.rs +++ b/src/visual.rs @@ -17,7 +17,7 @@ pub struct VisualPlugin; impl Plugin for VisualPlugin { fn build(&self, app: &mut App) { - app.add_systems(Startup, setup); + app.add_systems(Startup, setup.after(menu::setup).after(hud::setup)); app.add_systems(Startup, spawn_effects.after(setup).after(camera::setup_camera)); app.add_systems(Update, spawn_effects); app.add_systems(Update, update_fadein);