mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
bug fix moment
This commit is contained in:
1 parent
67ee799f04
commit
9fa59479aa
4 files changed
+9
-6
No files matched your search
+1
-1
@@ -23,7 +23,7 @@ int SettingsManager::GetSettingInt(const std::string §ion, const std::string
|
||||
}
|
||||
|
||||
bool SettingsManager::GetSettingBool(const std::string §ion, 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 {
|
||||
|
||||
Reference in new issue
Block a user