Skip to content

Commit

Permalink
SyndDelay disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaNightHawk authored Jan 28, 2024
1 parent 0814e1d commit 8e839f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -301,4 +302,4 @@ process.on("SIGINT", function () {
ws.close();
console.log("Closing relay-server");
process.exit(1);
});
});

0 comments on commit 8e839f7

Please sign in to comment.