From ed716f43b66b2ca6218eb6420067681b8409918e Mon Sep 17 00:00:00 2001 From: ntr Date: Wed, 25 Sep 2019 12:30:52 +1000 Subject: [PATCH] footer return false --- client/src/components/game.footer.jsx | 2 ++ 1 file changed, 2 insertions(+) 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() {