From 8efc0414c4e13b581f7c914c3430a687b93adcbd Mon Sep 17 00:00:00 2001 From: Robin Sonneveld <6283731+rtsonneveld@users.noreply.github.com> Date: Fri, 6 Aug 2021 17:32:45 +0200 Subject: [PATCH] Adjusted uploading progress bar so it doesn't jump back after finishing uploading content. --- Facepunch.Steamworks/Structs/UgcEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Facepunch.Steamworks/Structs/UgcEditor.cs b/Facepunch.Steamworks/Structs/UgcEditor.cs index a6d47ce..ffd00f0 100644 --- a/Facepunch.Steamworks/Structs/UgcEditor.cs +++ b/Facepunch.Steamworks/Structs/UgcEditor.cs @@ -246,7 +246,7 @@ namespace Steamworks.Ugc case ItemUpdateStatus.UploadingContent: { var uploaded = total > 0 ? ((float)processed / (float)total) : 0.0f; - progress?.Report( 0.2f + uploaded * 0.7f ); + progress?.Report( 0.2f + uploaded * 0.6f ); break; } case ItemUpdateStatus.UploadingPreviewFile: