From 9ad094458e2d1c51188151491c81ae62bbf72c17 Mon Sep 17 00:00:00 2001 From: OsakaRuma Date: Sun, 8 Sep 2024 22:56:56 +0800 Subject: [PATCH] fixed a bug where only the first step of the task could be run if there were multiple steps of the task when installing the game Signed-off-by: OsakaRuma --- src/Starward/Services/Download/InstallGameService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Starward/Services/Download/InstallGameService.cs b/src/Starward/Services/Download/InstallGameService.cs index 4f85ef711..8a8bd84a3 100644 --- a/src/Starward/Services/Download/InstallGameService.cs +++ b/src/Starward/Services/Download/InstallGameService.cs @@ -627,7 +627,7 @@ public void ClearState() protected void StartTask(InstallGameState state) { - if (State != InstallGameState.None) return; + if (_concurrentExecuteThreadCount > 0) return; if (state is InstallGameState.Download) {