diff --git a/client/src/components/game.footer.jsx b/client/src/components/game.footer.jsx index 40095d45..101318a4 100644 --- a/client/src/components/game.footer.jsx +++ b/client/src/components/game.footer.jsx @@ -52,6 +52,8 @@ function GameFooter(props) { sendInstanceState, } = props; + if (!game) return false; // ??? + const playerTeam = game.players.find(t => t.id === account.id); function quitClick() {