summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 92cbae77..87709e5b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1042,14 +1042,17 @@ int main(int argc, char *argv[])
case STATE_LOAD_DATA:
logger->log("State: LOAD DATA");
- // Load the updates downloaded so far...
- loadUpdates();
-
- // Also add customdata directory
- ResourceManager::getInstance()->searchAndAddArchives(
- "customdata/",
- "zip",
- false);
+ if (options.dataPath.empty())
+ {
+ // Load the updates downloaded so far...
+ loadUpdates();
+
+ // Also add customdata directory
+ ResourceManager::getInstance()->searchAndAddArchives(
+ "customdata/",
+ "zip",
+ false);
+ }
// Load XML databases
ColorDB::load();