diff --git a/client/src/components/controls.jsx b/client/src/components/controls.jsx index 828c767e..8df3d524 100644 --- a/client/src/components/controls.jsx +++ b/client/src/components/controls.jsx @@ -38,7 +38,7 @@ function Controls(args) { if (game) return ; if (instance) return ; - if (nav === 'play' || !nav) return + if (nav === 'play' || nav === 'shop' || !nav) return if (nav === 'team' || nav === 'account') return return false; diff --git a/client/src/components/instance.ctrl.btns.jsx b/client/src/components/instance.ctrl.btns.jsx index 1f572765..751f7137 100644 --- a/client/src/components/instance.ctrl.btns.jsx +++ b/client/src/components/instance.ctrl.btns.jsx @@ -36,10 +36,12 @@ function InstanceCtrlBtns(args) { sendReady, } = args; + const finished = instance && instance.phase === 'Finished'; + return (
- +
); } diff --git a/client/src/components/play.jsx b/client/src/components/play.jsx index cee2bc01..3e8fb916 100644 --- a/client/src/components/play.jsx +++ b/client/src/components/play.jsx @@ -71,9 +71,9 @@ function Play(args) { }; const availableMtx = (item, i) => ( -
mtxBuy(item)} > -
{item.variant}
- +
+
Enable {item.variant}
+
); diff --git a/client/src/components/player.box.jsx b/client/src/components/player.box.jsx index 462b0da6..787524a0 100644 --- a/client/src/components/player.box.jsx +++ b/client/src/components/player.box.jsx @@ -29,6 +29,7 @@ function Scoreboard(args) { if (!isPlayer) { return (
+
{scoreText()}
{player.name}