footer return false
This commit is contained in:
parent
c6853674a7
commit
ed716f43b6
@ -52,6 +52,8 @@ function GameFooter(props) {
|
|||||||
sendInstanceState,
|
sendInstanceState,
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
|
if (!game) return false; // ???
|
||||||
|
|
||||||
const playerTeam = game.players.find(t => t.id === account.id);
|
const playerTeam = game.players.find(t => t.id === account.id);
|
||||||
|
|
||||||
function quitClick() {
|
function quitClick() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user