pub fn tournament_play_selection(
storage: &GameStorage,
mods_state: &ModsPageState,
) -> Option<TournamentSelection>Expand description
The Play button becomes “Online” when an enabled mod with
tournament ui actions has a selection in its active configuration
(there is no extra selection file).
Returns that selection (for the footer tooltip), or None for a normal
Play!.
When the Mods page hasn’t been opened this session (mods is empty) the
check falls back to disk: the enabled list + per-mod overrides from
mods.json, the same values the hook resolver interpolates on Play.