diff options
Diffstat (limited to 'src/utils.cc')
-rw-r--r-- | src/utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cc b/src/utils.cc index 1df3308..d071fe6 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -17,7 +17,7 @@ nlohmann::json utils::loadJson(const std::string& path) { } nlohmann::json utils::loadJson(const std::string& type, const std::string& name) { - for(auto data : utils::loadAllJson(settings::dummySettings.at(type))) { + for(auto data : utils::loadAllJson(settings::getString(type))) { if(data["name"] == name) { return data; } |