Fix changing between players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
78865a5608
commit
898be773c3
@ -114,6 +114,7 @@ void StoryModeLobbyScreen::eventCallback(Widget* widget, const std::string& name
|
||||
if (list->getSelectionLabel() == players[n].getName())
|
||||
{
|
||||
unlock_manager->setCurrentSlot(players[n].getUniqueID());
|
||||
unlock_manager->updateActiveChallengeList();
|
||||
slot_found = true;
|
||||
break;
|
||||
}
|
||||
@ -155,6 +156,7 @@ void StoryModeLobbyScreen::onNewPlayerWithName(const stringw& newName)
|
||||
if (players[n].getName() == newName)
|
||||
{
|
||||
unlock_manager->setCurrentSlot(players[n].getUniqueID());
|
||||
unlock_manager->updateActiveChallengeList();
|
||||
slot_found = true;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user