summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/network_content.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp
index 0dab801c1..b10d2cf85 100644
--- a/src/network/network_content.cpp
+++ b/src/network/network_content.cpp
@@ -245,7 +245,7 @@ void ClientNetworkContentSocketHandler::DownloadSelectedContent(uint &files, uin
ContentID *ids = MallocT<ContentID>(infos.Length());
for (ContentIterator iter = infos.Begin(); iter != infos.End(); iter++) {
const ContentInfo *ci = *iter;
- if (!ci->IsSelected()) continue;
+ if (!ci->IsSelected() || ci->state == ContentInfo::ALREADY_HERE) continue;
ids[files++] = ci->id;
bytes += ci->filesize;