mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-12-06 11:17:18 +00:00
Some more ~~insect~~ bug fixes.
This commit is contained in:
1 parent
ddbea3ab36
commit
ee2769b294
6 files changed
+33
-7
No files matched your search
@@ -208,6 +208,11 @@ void Store::loadSheets() {
|
||||
*/
|
||||
void Store::LoadFromFile(const std::string &file) {
|
||||
FILE *in = fopen(file.c_str(), "rt");
|
||||
if (!in) {
|
||||
this->valid = false;
|
||||
return;
|
||||
}
|
||||
|
||||
this->storeJson = nlohmann::json::parse(in, nullptr, false);
|
||||
fclose(in);
|
||||
|
||||
|
||||
Reference in new issue
Block a user