UESaveFile: add sanity check when reading files.

This commit is contained in:
Guillaume Jacquemin 2021-09-23 15:07:29 +02:00
parent 0826d4aede
commit 0006c90a21

View file

@ -197,5 +197,9 @@ void UESaveFile::loadData() {
arrayAppend(_properties, std::move(prop));
}
if(_properties.back()->name != "None" && _properties.back()->propertyType != "NoneProperty") {
return;
}
_valid = true;
}