From a361e595a3f8494903d8d66501cca2fe5b80307a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Feb 2016 19:39:09 +0300 Subject: Add misisng check in map reader. --- src/resources/mapreader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3-70-g09d2