From 736a9708b17f887b6486e7cbb922fe026acbee52 Mon Sep 17 00:00:00 2001 From: legonzaur Date: Fri, 17 May 2024 18:46:59 +0200 Subject: [PATCH 1/3] add .ico to lfs --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index fce7936..0b2ac6b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,4 @@ *.mp3 filter=lfs diff=lfs merge=lfs -text *.wav filter=lfs diff=lfs merge=lfs -text *.opus filter=lfs diff=lfs merge=lfs -text +*.ico filter=lfs diff=lfs merge=lfs -text From 16553dce10516ab764b3f3a759f2261202cc19e7 Mon Sep 17 00:00:00 2001 From: legonzaur Date: Fri, 17 May 2024 18:54:41 +0200 Subject: [PATCH 2/3] Feat: add title to page --- app.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app.vue b/app.vue index f56d93c..4086e2f 100644 --- a/app.vue +++ b/app.vue @@ -4,6 +4,14 @@ import goStore, { setReady, oauth2_register_discord, setup_websocket, heron_cook await setup_websocket() +useHead + ({ + title + : 'Héron Realms', + }) + + + const heron_session = useCookie('heron_session') const route = useRoute() From 472f94257ef87a3d23d417e0ecb6108f98399b23 Mon Sep 17 00:00:00 2001 From: legonzaur Date: Fri, 17 May 2024 18:57:40 +0200 Subject: [PATCH 3/3] Fix : prevent join sound to play if game is already started --- components/GameBoard.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/components/GameBoard.vue b/components/GameBoard.vue index c5aea63..8282c84 100644 --- a/components/GameBoard.vue +++ b/components/GameBoard.vue @@ -33,6 +33,7 @@ watch( () => goStore.current_game?.players, (newList, oldList) => { if (!oldList || !newList) { return } + if (goStore.current_game?.started) { return } if (newList?.length > oldList.length) { playSound('/sounds/teleport.mp3') }