Fix bug where invalid settings doesn't set FLAG_INVALID in ConfigFile.cpp
This commit is contained in:
+2
-1
@@ -76,7 +76,8 @@ ConfigFile ConfigFile::Load()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG_ERROR("Invalid flag");
|
LOG_ERROR("Invalid flag: ", line);
|
||||||
|
loadFlag = FLAG_NONE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user