mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
fix: hide unload message if never loaded
This commit is contained in:
parent
8b87a0c71b
commit
d57ef26263
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue