fixed test completing breaking the server

This commit is contained in:
Jack 2021-04-05 02:00:08 +01:00
parent 147c559eb0
commit 18e4a0b99e

View file

@ -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) {