diff --git a/solitaire_core/src/game_state.rs b/solitaire_core/src/game_state.rs index 4691d32..13e39f3 100644 --- a/solitaire_core/src/game_state.rs +++ b/solitaire_core/src/game_state.rs @@ -969,7 +969,7 @@ impl GameState { /// Returns `true` when all four foundation slots each contain a complete A→K sequence. pub fn check_win(&self) -> bool { - self.session.state().state().is_win() + self.session.is_win() } /// Returns `true` when the game can be completed without further player input