summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/resources/mapreader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 780156910..40a64217d 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -272,9 +272,10 @@ Map *MapReader::readMap(const std::string &restrict filename,
if (map->getProperty("music").empty())
updateMusic(map);
+
+ map->updateConditionLayers();
}
- map->updateConditionLayers();
BLOCK_END("MapReader::readMap str")
return map;
}