Fixed bug preventing modified maps from being updated on the worldmap

upon visiting them.
This commit is contained in:
Zukero
2018-02-12 13:46:22 +01:00
parent e300c1383e
commit b77c1b3f94

View File

@@ -203,7 +203,10 @@ public final class MapController {
hasUpdated = true;
}
}
map.lastSeenLayoutHash = tileMap.getCurrentLayoutHash();
if (map.lastSeenLayoutHash != tileMap.getCurrentLayoutHash()) {
map.lastSeenLayoutHash = tileMap.getCurrentLayoutHash();
hasUpdated = true;
}
return hasUpdated;
}