diff options
author | Thomas Voss <thomasvoss@live.com> | 2022-01-17 00:58:06 +0100 |
---|---|---|
committer | Thomas Voss <thomasvoss@live.com> | 2022-01-17 00:58:06 +0100 |
commit | f85ce342d96b90376af0f735babe29dc704c7b0f (patch) | |
tree | 48f156d7ba501858b8a0b3228446ded5eb39823a | |
parent | d61b0159ed592e14d7a1c96b5acab09b8f07382b (diff) |
lol what even is this diff
-rw-r--r-- | draughts/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/draughts/app.js b/draughts/app.js index 126f0dc..b275534 100644 --- a/draughts/app.js +++ b/draughts/app.js @@ -101,7 +101,7 @@ wss.on("connection", ws => { } }, ws) game.move(msg.body) - + /* If this returns false, it means that one of the players won the game. In this case we * need to update statistics regarding the amount of moves it takes to win a game and * such. We also need to remove the game. @@ -120,7 +120,7 @@ wss.on("connection", ws => { /* Remove ongoing game */ stats.ongoingGames-- env.removeGame(game) - } + } break } }) |