This commit is contained in:
Benau 2020-09-11 01:09:32 +08:00
parent 736209abbe
commit 7eb896fe7f

View File

@ -42,6 +42,7 @@
#include "guiengine/widget.hpp"
#include "io/file_manager.hpp"
#include "items/powerup_manager.hpp"
#include "modes/world.hpp"
#include "online/request_manager.hpp"
#include "states_screens/dialogs/message_dialog.hpp"
#include "states_screens/main_menu_screen.hpp"
@ -466,6 +467,8 @@ void OptionsScreenUI::eventCallback(Widget* widget, const std::string& name, con
GUIEngine::SpinnerWidget* minimap_options = getWidget<GUIEngine::SpinnerWidget>("minimap");
assert( minimap_options != NULL );
UserConfigParams::m_minimap_display = minimap_options->getValue();
if (World::getWorld())
World::getWorld()->getRaceGUI()->recreateGUI();
}
else if (name == "font_size")
{