not reseting the result if lobby was public

This commit is contained in:
Jack 2021-05-15 19:21:09 +01:00
parent ef745d0392
commit 5a815d9e41

View file

@ -1212,7 +1212,7 @@ socket.on("mp_room_leave", () => {
changeActiveSubpage("prelobby");
resetLobby();
resetRace();
resetResult();
if (privateRoom) resetResult();
Matchmaking.enableLobbyButtons();
Matchmaking.hideLeaveQueueButton();
Matchmaking.showStartQueueButton();