mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-28 03:25:30 -05:00
Fix adding new mapsec regression
This commit is contained in:
@@ -195,14 +195,7 @@ bool RegionMap::readLayout() {
|
||||
map_squares[i].has_map = true;
|
||||
}
|
||||
map_squares[i].mapsec = secname;
|
||||
if (!mapSecToMapEntry.contains(secname)) {
|
||||
continue;
|
||||
}
|
||||
QString name = mapSecToMapEntry.value(secname).name;
|
||||
if (!sMapNamesMap.contains(name)) {
|
||||
continue;
|
||||
}
|
||||
map_squares[i].map_name = sMapNamesMap.value(name);
|
||||
map_squares[i].map_name = sMapNamesMap.value(mapSecToMapEntry.value(secname).name);
|
||||
map_squares[i].x = x;
|
||||
map_squares[i].y = y;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user