diff --git a/src/index.ts b/src/index.ts index a7a036a..3684050 100644 --- a/src/index.ts +++ b/src/index.ts @@ -269,9 +269,10 @@ taWS.on("realtimeScore", (s) => { rhMiss: s.data.rightHand.miss, totalMisses: (s.data.notesMissed + s.data.badCuts) }; - setTimeout(() => { + /* SyncDelay disabled, as it causes some problems, for some reason. */ + //setTimeout(() => { ws.send(JSON.stringify({ Type: "4", message: userScoring })); - }, syncDelay); + //}, syncDelay); }); taWS.on("matchUpdated", (m) => { @@ -301,4 +302,4 @@ process.on("SIGINT", function () { ws.close(); console.log("Closing relay-server"); process.exit(1); -}); \ No newline at end of file +});