fixed single-player refusing to come back to 1 kart after playing a multiplayer game

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2008-11-27 21:30:15 +00:00
parent f877e02358
commit ea05fbe375

View File

@@ -96,6 +96,7 @@ void MainMenu::select()
{
case WTOK_SINGLE:
race_manager->setNumLocalPlayers(1);
race_manager->setNumPlayers(1); // reset since this is used to determine the minimum number of players
// The clients do not do any mode selection, they go immediately
// to the character selection screen.
if(network_manager->getMode()==NetworkManager::NW_CLIENT)