forked from vergnet/application-amicale
Fix game navigation issue
Fixed start game screen being replaced by end screen when exiting a runnnning game
This commit is contained in:
parent
05f769fe79
commit
ee9e225dae
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class GameMainScreen extends React.Component<PropsType, StateType> {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
this.logic.endGame(false);
|
this.logic.endGame(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
getRightButton = (): React.Node => {
|
getRightButton = (): React.Node => {
|
||||||
|
|
Loading…
Reference in a new issue