diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-03 19:39:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-03 19:39:09 +0300 |
commit | a361e595a3f8494903d8d66501cca2fe5b80307a (patch) | |
tree | f1d3ce40654a1bfd08b5a4035218dd381064b17d | |
parent | 41adf75fa42f497e9f0049a786f08f3414ed6cbd (diff) | |
download | mv-a361e595a3f8494903d8d66501cca2fe5b80307a.tar.gz mv-a361e595a3f8494903d8d66501cca2fe5b80307a.tar.bz2 mv-a361e595a3f8494903d8d66501cca2fe5b80307a.tar.xz mv-a361e595a3f8494903d8d66501cca2fe5b80307a.zip |
Add misisng check in map reader.
-rw-r--r-- | src/resources/mapreader.cpp | 3 |
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; } |