Fix wrong code to make it the same as comment

This commit is contained in:
Benau 2018-04-22 14:01:11 +08:00
parent ad7555d8ea
commit 96797e9325

View File

@ -452,7 +452,7 @@ void ClientLobby::handleServerInfo(Event* event)
auto game_mode = NetworkConfig::get()->getLocalGameMode();
race_manager->setMinorMode(game_mode.first);
// We use single mode in network even it's grand prix
race_manager->setMajorMode(RaceManager::MAJOR_MODE_GRAND_PRIX);
race_manager->setMajorMode(RaceManager::MAJOR_MODE_SINGLE);
//I18N: In the networking lobby
core::stringw mode_name = NetworkConfig::get()->getModeName(u_data);