From 375ff311d4a9ffba2a99af2ea321ae738fc97689 Mon Sep 17 00:00:00 2001 From: Luis Uguina Date: Sun, 21 Jun 2020 19:15:53 +1000 Subject: [PATCH] Fix: add RENDERER_KILLED_BY_USER to download checks (#271) --- src/com/sheepit/client/Client.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/sheepit/client/Client.java b/src/com/sheepit/client/Client.java index 78ba709..a1364e9 100644 --- a/src/com/sheepit/client/Client.java +++ b/src/com/sheepit/client/Client.java @@ -740,7 +740,7 @@ import lombok.Data; // must download the archive Error.Type ret = this.server.HTTPGetFile(url, local_path, this.gui, update_ui); - if (ret != Type.RENDERER_KILLED_BY_SERVER || ret != Type.RENDERER_KILLED_BY_USER_OVER_TIME) { + if (ret == Type.RENDERER_KILLED_BY_SERVER || ret == Type.RENDERER_KILLED_BY_USER_OVER_TIME || ret == Type.RENDERER_KILLED_BY_USER) { return ret; }