bug fix moment

This commit is contained in:
ouwou committed 2020-11-08 20:52:29 -05:00
1 parent 67ee799f04
commit 9fa59479aa
4 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ int SettingsManager::GetSettingInt(const std::string &section, const std::string
}
bool SettingsManager::GetSettingBool(const std::string &section, const std::string &key, bool fallback) const {
return GetSettingString(section, key, "false") != "false";
return GetSettingString(section, key, fallback ? "true" : "false") != "false";
}
bool SettingsManager::IsValid() const {