1
0
Fork 0

Fix game navigation issue

Fixed start game screen being replaced by end screen when exiting a runnnning game
Dieser Commit ist enthalten in:
Arnaud Vergnet 2020-08-06 13:54:09 +02:00
Ursprung 05f769fe79
Commit ee9e225dae

Datei anzeigen

@ -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 => {