From dd5d4978d4ec8580a9cea2833f62fb230b26cd3c Mon Sep 17 00:00:00 2001 From: Yimura Date: Sat, 24 Jul 2021 15:16:15 +0200 Subject: [PATCH] fix(Globals): Fixed certain settings being overwritten --- BigBaseV2/src/core/globals.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BigBaseV2/src/core/globals.hpp b/BigBaseV2/src/core/globals.hpp index 54c9cf74..d3cd08d4 100644 --- a/BigBaseV2/src/core/globals.hpp +++ b/BigBaseV2/src/core/globals.hpp @@ -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;