From 0b344940b98577f7396b80621eb07d472529580b Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Sat, 4 Nov 2023 23:08:23 +0000
Subject: dsjkfghskdljf

---
 frontend/src/components/TetrisBoard.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'frontend/src/components/TetrisBoard.vue')

diff --git a/frontend/src/components/TetrisBoard.vue b/frontend/src/components/TetrisBoard.vue
index 4e5911b..d7bd2d2 100644
--- a/frontend/src/components/TetrisBoard.vue
+++ b/frontend/src/components/TetrisBoard.vue
@@ -113,7 +113,7 @@ const tick = () => {
         break;
     }
 
-    if (gameSpeed > 150 && elapsedBlocks % 3 === 0) {
+    if (!props.networked && gameSpeed > 150 && elapsedBlocks % 3 === 0) {
       gameSpeed = Math.max(150, gameSpeed - (gameSpeed > 300 ? 75 : 10));
       rescheduleTickTimer();
     }
@@ -129,7 +129,7 @@ const tick = () => {
 
 function startGame() {
   elapsedBlocks = 0;
-  gameSpeed = 1000;
+  gameSpeed = props.networked ? 350 : 1000;
   nextTetrominoes.value = randomiseNextTetrominoes();
   gameInProgress = true;
   notificationMessage.value = '';
-- 
cgit v1.2.3-70-g09d2

