Skip to content

Commit

Permalink
fixed a bug where only the first step of the task could be run if the…
Browse files Browse the repository at this point in the history
…re were multiple steps of the task when installing the game

Signed-off-by: OsakaRuma <[email protected]>
  • Loading branch information
iamscottxu committed Sep 8, 2024
1 parent cc0a99d commit 9ad0944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Starward/Services/Download/InstallGameService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 9ad0944

Please sign in to comment.