Fix issue on rematch request screen
This commit is contained in:
parent
d8f96f732a
commit
5b228de285
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user