fix flicker when taking off helmet

This commit is contained in:
yuni 2024-11-23 03:02:21 +01:00
parent 8964cf47f7
commit 5b1ab8010e

View file

@ -27,7 +27,7 @@ impl Plugin for VisualPlugin {
.after(setup)
.after(camera::setup_camera),
);
app.add_systems(Update, spawn_effects.run_if(game_running));
app.add_systems(Update, spawn_effects);
app.add_systems(Update, update_fadein.run_if(game_running));
app.add_systems(Update, update_fadeout.run_if(game_running));
app.add_systems(Update, update_fade_material.run_if(game_running));