This commit is contained in:
Malkierian 2025-05-24 18:21:09 -07:00
commit fe68576a56

View file

@ -203,7 +203,7 @@ void LoadPresets() {
auto json = nlohmann::json::parse(ifs); auto json = nlohmann::json::parse(ifs);
if (!json.contains("presetName")) { if (!json.contains("presetName")) {
spdlog::error(fmt::format("Attempted to load file {} as a preset, but was not a preset file.", spdlog::error(fmt::format("Attempted to load file {} as a preset, but was not a preset file.",
preset.path().filename().string())); preset.path().filename().string()));
} else { } else {
ParsePreset(json, preset.path().filename().stem().string()); ParsePreset(json, preset.path().filename().stem().string());
} }