Fixed weird bug where config files spointainously appear everywhere (wtf...)

This commit is contained in:
AlexandreRouma
2021-12-26 02:09:37 +01:00
parent 66269659c5
commit 470e748e4a
4 changed files with 14 additions and 5 deletions

View File

@ -12,7 +12,7 @@ ConfigManager::~ConfigManager() {
}
void ConfigManager::setPath(std::string file) {
path = file;
path = std::filesystem::absolute(file).string();
}
void ConfigManager::load(json def, bool lock) {