I'm trying to fix my code currently using States and SystemSets whereas I'm required to use stages in order to correctly react to entity changes in the same frame.
app.add_system_set_to_stage(
CoreStage::PreUpdate,
SystemSet::on_update(GameState::Playing)
.with_system(remove_action_cooldown)
)
2022-11-27T08:34:46.451394Z WARN bevy_ecs::schedule::graph_utils: Pipe(bevy_ecs::schedule::state::State<bevy_game::game::GameState>::on_update::{{closure}}, bevy_ecs::schedule::state::should_run_adapter<bevy_game::game::GameState>) wants to be after unknown label: bevy_game::game::GameState