mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 11:26:13 +08:00
fixed test completing breaking the server
This commit is contained in:
parent
147c559eb0
commit
18e4a0b99e
1 changed files with 3 additions and 1 deletions
|
|
@ -640,7 +640,9 @@ function refreshConfig() {
|
|||
}
|
||||
|
||||
export function testFinished(result) {
|
||||
socket.emit("mp_room_test_finished", { result: result });
|
||||
if (state >= 21) {
|
||||
socket.emit("mp_room_test_finished", { result: result });
|
||||
}
|
||||
}
|
||||
|
||||
function showCountdown(faint = false) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue