Fix regression in metatile label saving

This commit is contained in:
GriffinR 2023-02-14 11:50:14 -05:00
parent 36363febf7
commit 72ae9dfc01

View file

@ -1509,7 +1509,7 @@ bool Project::readTilesetMetatileLabels() {
for (QString label : this->tilesetLabelsOrdered) {
QString tilesetName = QString(label).replace("gTileset_", "");
for (QString key : labels.keys()) {
if (key.contains(QString("METATILE_") + tilesetName)) {
if (key.contains(QString("METATILE_") + tilesetName + "_")) {
metatileLabelsMap[label][key] = labels[key];
}
}