mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +08:00
fix(Globals): Fixed certain settings being overwritten
This commit is contained in:
parent
379cc8129b
commit
9a8b7c8308
@ -178,7 +178,7 @@ private:
|
||||
if (deep_compare(current_settings[key], e.value()))
|
||||
should_save = true;
|
||||
}
|
||||
else if (current_settings[key].type() != e.value().type()) {
|
||||
else if (!current_settings[key].is_structured() && e.value().is_structured()) {
|
||||
current_settings[key] = e.value();
|
||||
|
||||
should_save = true;
|
||||
|
Loading…
Reference in New Issue
Block a user