From 14a49126f2a6e0e510d6938d92f3dda971baad69 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Wed, 23 Jun 2021 18:19:09 +0100 Subject: [PATCH] Cleanup --- index.html | 2 +- src/api.ts | 5 +++-- src/store/actions.ts | 2 +- src/store/state.ts | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 2580b8d..a5cee43 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ - + diff --git a/src/api.ts b/src/api.ts index 54ae88b..cb0ac76 100644 --- a/src/api.ts +++ b/src/api.ts @@ -690,13 +690,14 @@ export default { }); //Extra fake players for testing - // for(let i = 0; i < 150; i++) { + // for(let i = 0; i < 450; i++) { // players.add({ // account: "VIDEO GAMES " + i, // health: Math.round(Math.random() * 10), // armor: Math.round(Math.random() * 10), // name: "VIDEO GAMES " + i, - // sort: 0, + // sort: Math.round(Math.random() * 10), + // hidden: false, // location: { // x: Math.round(Math.random() * 1000) - 500, // y: 64, diff --git a/src/store/actions.ts b/src/store/actions.ts index 041f422..79e1fee 100644 --- a/src/store/actions.ts +++ b/src/store/actions.ts @@ -264,4 +264,4 @@ export const actions: ActionTree & Actions = { async [ActionTypes.SEND_CHAT_MESSAGE]({commit, state}, message: string): Promise { await getAPI().sendChatMessage(message); }, -} \ No newline at end of file +} diff --git a/src/store/state.ts b/src/store/state.ts index a5963b0..bdd7789 100644 --- a/src/store/state.ts +++ b/src/store/state.ts @@ -222,7 +222,7 @@ export const state: State = { ui: { smallScreen: false, - visibleElements:new Set(), + visibleElements: new Set(), previouslyVisibleElements: new Set(), sidebar: {