diff --git a/client/src/components/instance.create.buttons.jsx b/client/src/components/instance.create.buttons.jsx
index 82efa245..46378c88 100644
--- a/client/src/components/instance.create.buttons.jsx
+++ b/client/src/components/instance.create.buttons.jsx
@@ -6,7 +6,7 @@ const addState = connect(
function receiveState(state) {
const { ws, team, account } = state;
- function sendInstanceNew(sConstructs, pve) {
+ function sendInstanceNew(sConstructs, name, pve) {
if (sConstructs.length) {
return ws.sendInstanceNew(sConstructs, account.name, pve);
}
diff --git a/client/src/components/nav.jsx b/client/src/components/nav.jsx
index 7ed29e16..ab4cc24e 100644
--- a/client/src/components/nav.jsx
+++ b/client/src/components/nav.jsx
@@ -118,9 +118,13 @@ function Nav(args) {
return true;
}
- const joined = instances.map(i => (
-
- ));
+ const joined = instances.map(i => {
+ const score = i.players.find(p => p.id === account.id);
+ const phase = i.rounds[i.rounds.length - 1].game_id
+ ? 'In game'
+ : 'Vbox';
+ return
+ });
const haxSection = process.env.NODE_ENV === 'development'
? (
diff --git a/client/src/socket.jsx b/client/src/socket.jsx
index 3c4b9831..ada2fbba 100644
--- a/client/src/socket.jsx
+++ b/client/src/socket.jsx
@@ -156,6 +156,7 @@ function createSocket(events) {
function accountInstanceList(res) {
const [struct, playerList] = res;
events.setAccountInstances(playerList);
+ setTimeout(sendAccountInstances, 5000);
}
function accountConstructs(response) {