From 5b228de285ce901c97afb2af3cb0d9b79657e7ba Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Mon, 17 Oct 2022 18:49:52 +0200 Subject: [PATCH] Fix issue on rematch request screen --- rust/cli_player/src/ui_screens/game_screen.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/cli_player/src/ui_screens/game_screen.rs b/rust/cli_player/src/ui_screens/game_screen.rs index e957e7a..5cdf880 100644 --- a/rust/cli_player/src/ui_screens/game_screen.rs +++ b/rust/cli_player/src/ui_screens/game_screen.rs @@ -364,6 +364,7 @@ impl GameScreen { buttons.push(Buttons::RejectRematch); } else if self.status != GameStatus::OpponentLeftGame && self.status != GameStatus::RematchRejected + && self.status != GameStatus::RematchRequestedByPlayer { buttons.push(Buttons::RequestRematch); }