fix: hide unload message if never loaded

This commit is contained in:
PancakeTAS 2025-08-29 12:51:52 +02:00
parent 8b87a0c71b
commit d57ef26263
No known key found for this signature in database

View file

@ -132,9 +132,8 @@ void Config::updateConfig(
}
if (!gameConf.has_value()) {
if (Config::currentConf.has_value()) // print log message only if previously enabled
std::cerr << "lsfg-vk: Configuration entry disappeared, disabling.\n";
Config::currentConf.reset();
std::cerr << "lsfg-vk: Configuration entry disappeared, disabling.\n";
return;
}