Improved persistence of difficulty setting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
dbf3ec0b09
commit
852e3296c7
@ -169,7 +169,7 @@ void RaceSetupScreen::init()
|
|||||||
Screen::init();
|
Screen::init();
|
||||||
RibbonWidget* w = getWidget<RibbonWidget>("difficulty");
|
RibbonWidget* w = getWidget<RibbonWidget>("difficulty");
|
||||||
assert( w != NULL );
|
assert( w != NULL );
|
||||||
w->setSelection( race_manager->getDifficulty(), PLAYER_ID_GAME_MASTER );
|
w->setSelection( UserConfigParams::m_difficulty, PLAYER_ID_GAME_MASTER );
|
||||||
|
|
||||||
SpinnerWidget* kartamount = getWidget<SpinnerWidget>("aikartamount");
|
SpinnerWidget* kartamount = getWidget<SpinnerWidget>("aikartamount");
|
||||||
kartamount->setActivated();
|
kartamount->setActivated();
|
||||||
|
Loading…
Reference in New Issue
Block a user