If key is "key" and value is "value" ignore the line.
This commit is contained in:
parent
5311df51ad
commit
003e33c05a
|
@ -49,6 +49,8 @@ void LocalizationFile::LoadFile(const std::filesystem::path& path) {
|
|||
std::getline(linestream, value, sep);
|
||||
if (key.empty())
|
||||
continue;
|
||||
if (key == "key" && value == "value")
|
||||
continue;
|
||||
if (!IsKeyValid(key)){
|
||||
std::cout << "Key not valid: '" << key << "'. Skipping key." << std::endl;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue