fix some config options not saving on change, move check obtained checking to tool func, tracker cleanup

This commit is contained in:
CraftyBoss
2026-05-23 03:05:54 -07:00
parent 66a8af31b3
commit 4ce5800a33
5 changed files with 80 additions and 47 deletions
+1
View File
@@ -196,6 +196,7 @@ NumberButton* rando_add_optional_setting(std::string optionValue, std::string op
.getValue = [curSetting] { return curSetting->GetCurrentOptionAsNumber(); },
.setValue = [curSetting](int value) {
curSetting->SetCurrentOption(std::to_string(value));
SaveConfig();
},
.min = std::stoi(options.front()),
.max = std::stoi(options.back()),