summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r--src/resources/mapreader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index cfce7c397..14adad5e2 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -1266,6 +1266,8 @@ Map *MapReader::createEmptyMap(const std::string &restrict filename,
-1);
map->addLayer(layer);
map->updateDrawLayersList();
+ map->updateConditionLayers();
+ map->preCacheLayers();
return map;
}