diff --git a/client/src/components/instance.constructs.jsx b/client/src/components/instance.constructs.jsx
index 1eecfd6e..24a1d833 100644
--- a/client/src/components/instance.constructs.jsx
+++ b/client/src/components/instance.constructs.jsx
@@ -179,7 +179,7 @@ function Construct(props) {
const stats = Object.keys(STATS).map(s => {
const stat = STATS[s];
- const info = (s === 'Speed' && 'Speed')
+ const info = (s === 'SpeedStat' && 'Speed')
|| (s.includes('Power') && 'Power')
|| (s.includes('Life') && 'Life');
diff --git a/client/src/components/instance.ctrl.jsx b/client/src/components/instance.ctrl.jsx
index ba179c1a..7a2762c5 100644
--- a/client/src/components/instance.ctrl.jsx
+++ b/client/src/components/instance.ctrl.jsx
@@ -15,9 +15,8 @@ const addState = connect(
} = state;
function sendReady() {
- document.activeElement.blur()
+ document.activeElement.blur();
return ws.sendInstanceReady(instance.id);
- return false;
}
function sendAbandon() {
@@ -87,14 +86,14 @@ function Controls(args) {
?
:
-
+ const abandon = instance.phase !== 'Finished' ? sendAbandon : false;
return (
);