[Core] Fix config resetting
This commit is contained in:
@@ -42,6 +42,9 @@ std::shared_ptr<cpptoml::table> ParseFile(
|
|||||||
XELOGI("Loading config: {}\n{}", xe::path_to_utf8(filename), config_content);
|
XELOGI("Loading config: {}\n{}", xe::path_to_utf8(filename), config_content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file.clear();
|
||||||
|
file.seekg(0);
|
||||||
|
|
||||||
cpptoml::parser p(file);
|
cpptoml::parser p(file);
|
||||||
return p.parse();
|
return p.parse();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user