bug fix moment

This commit is contained in:
ouwou
2020-11-08 20:52:29 -05:00
parent 67ee799f04
commit 9fa59479aa
4 changed files with 9 additions and 6 deletions

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 {