diff --git a/src/states_screens/race_setup_screen.cpp b/src/states_screens/race_setup_screen.cpp index 84d64b029..4c47ce1c2 100644 --- a/src/states_screens/race_setup_screen.cpp +++ b/src/states_screens/race_setup_screen.cpp @@ -137,6 +137,7 @@ void RaceSetupScreen::eventCallback(Widget* widget, const std::string& name, con { SpinnerWidget* w = dynamic_cast(widget); race_manager->setNumKarts( race_manager->getNumLocalPlayers() + w->getValue() ); + UserConfigParams::m_num_karts = race_manager->getNumLocalPlayers() + w->getValue(); } else if (name == "back") {