Fix issue on rematch request screen

This commit is contained in:
Pierre HUBERT 2022-10-17 18:49:52 +02:00
parent d8f96f732a
commit 5b228de285

View File

@ -364,6 +364,7 @@ impl GameScreen {
buttons.push(Buttons::RejectRematch); buttons.push(Buttons::RejectRematch);
} else if self.status != GameStatus::OpponentLeftGame } else if self.status != GameStatus::OpponentLeftGame
&& self.status != GameStatus::RematchRejected && self.status != GameStatus::RematchRejected
&& self.status != GameStatus::RematchRequestedByPlayer
{ {
buttons.push(Buttons::RequestRematch); buttons.push(Buttons::RequestRematch);
} }