Fix game navigation issue

Fixed start game screen being replaced by end screen when exiting a runnnning game
This commit is contained in:
Arnaud Vergnet 2020-08-06 13:54:09 +02:00
부모 05f769fe79
커밋 ee9e225dae

파일 보기

@ -82,7 +82,7 @@ class GameMainScreen extends React.Component<PropsType, StateType> {
}
componentWillUnmount() {
this.logic.endGame(false);
this.logic.endGame(true);
}
getRightButton = (): React.Node => {