From 84d38cd22105188bf64d55e61d74cb6a4353d597 Mon Sep 17 00:00:00 2001 From: Benau Date: Fri, 3 Apr 2020 14:19:20 +0800 Subject: [PATCH] Sort kart with position for soccer spectate with icons code updated --- src/network/protocols/client_lobby.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/protocols/client_lobby.cpp b/src/network/protocols/client_lobby.cpp index cbca253be..e54235b2a 100644 --- a/src/network/protocols/client_lobby.cpp +++ b/src/network/protocols/client_lobby.cpp @@ -1464,6 +1464,7 @@ void ClientLobby::changeSpectateTarget(PlayerAction action, int value, bool sort_kart_for_position = RaceManager::get()->getMinorMode() == RaceManager::MINOR_MODE_FREE_FOR_ALL || RaceManager::get()->getMinorMode() == RaceManager::MINOR_MODE_CAPTURE_THE_FLAG || + RaceManager::get()->getMinorMode() == RaceManager::MINOR_MODE_SOCCER || RaceManager::get()->modeHasLaps(); if (sort_kart_for_position) {