Skip to content

Commit

Permalink
update map descriptor zip from download even if it already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Landmaster committed Aug 26, 2022
1 parent 00eb833 commit b42b167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ void load(const QString &fileName, std::vector<MapDescriptor> &descriptors, cons
descriptors[entry.mapId].isPracticeBoard = entry.practiceBoard;
if(!entry.mapDescriptorRelativePath.isEmpty()) {
auto descPath = dir.filePath(entry.mapDescriptorRelativePath);
if (!QFile::exists(descPath)) {
if (!entry.mapDescriptorUrls.empty()) {
qInfo() << "trying to download map descriptor to" << descPath;
for (auto &url: entry.mapDescriptorUrls) {
try {
Expand Down

0 comments on commit b42b167

Please sign in to comment.