Fix load from string wrongly printing that the string is a file
This commit is contained in:
parent
bf2b98320c
commit
f4580c0702
@ -137,8 +137,8 @@ bool settings::SettingsReader::loadFromString(std::string stream)
|
|||||||
settings::SettingsReader loader{ settings::Manager::instance() };
|
settings::SettingsReader loader{ settings::Manager::instance() };
|
||||||
if (stream == "")
|
if (stream == "")
|
||||||
{
|
{
|
||||||
logging::Info("cat_load: Can't access file!");
|
logging::Info("cat_load: Empty String!");
|
||||||
g_ICvar->ConsoleColorPrintf(MENU_COLOR, "CAT: cat_load: File doesn't exist / can't open file!\n");
|
g_ICvar->ConsoleColorPrintf(MENU_COLOR, "CAT: cat_load: Empty String!\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user