Skip to content

Commit

Permalink
Fix StartGetCardGame
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Nov 7, 2023
1 parent bda226c commit a81c371
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Assets/Scripts/Cgs/CardGameManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,12 @@ internal void ResetCurrentToDefault()
[PublicAPI]
public void StartGetCardGame(string autoUpdateUrl)
{
if (Current is {IsDownloading: true})
{
Debug.LogError("ERROR: StartGetCardGame while already downloading");
return;
}

StartCoroutine(GetCardGame(autoUpdateUrl));
}

Expand Down

0 comments on commit a81c371

Please sign in to comment.