From 302af9fb398d96387fcb6d29041f5ac9dc7d6f1e Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Thu, 4 Jan 2024 05:41:51 -0600 Subject: downloads assets correctly TODO: pre-1.6 versions don't work yet --- src/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/version.c') diff --git a/src/version.c b/src/version.c index 54bdc20..3568cf2 100644 --- a/src/version.c +++ b/src/version.c @@ -716,7 +716,7 @@ unsigned l2_version_download_libraries(struct l2_version_library *libs) } if (head != NULL) { - if (l2_dlpool_perform(pool) < 0) { + if (l2_dlpool_perform(pool) <= 0) { CMD_WARN0("Error downloading libraries."); res = VERSION_EDOWNLOAD; } else { -- cgit v1.2.3-70-g09d2