Skip to content

Commit

Permalink
Fix web links
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Dec 22, 2023
1 parent b200de9 commit c320041
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Assets/Scripts/Cgs/CardGameManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -374,11 +374,10 @@ private void OnDeepLinkActivated(string deepLink)
{
Debug.Log("OnDeepLinkActivated!");
var autoUpdateUrl = GetAutoUpdateUrl(deepLink);
if (string.IsNullOrEmpty(autoUpdateUrl) ||
!Uri.IsWellFormedUriString(autoUpdateUrl, UriKind.RelativeOrAbsolute))
if (string.IsNullOrEmpty(autoUpdateUrl))
{
Debug.LogError("OnDeepLinkActivated::autoUpdateUrlMalformed: " + deepLink);
Messenger.Show("OnDeepLinkActivated::autoUpdateUrlMalformed: " + deepLink);
Debug.LogError("OnDeepLinkActivated::autoUpdateUrlMissing!");
Messenger.Show("OnDeepLinkActivated::autoUpdateUrlMissing!");
}
else
StartGetCardGame(autoUpdateUrl);
Expand Down Expand Up @@ -621,9 +620,10 @@ private IEnumerator Start()
while (Current is {IsDownloading: true})
yield return null;

Debug.Log("CardGameManager::Start:GameReady");
if (Current == null || Current == UnityCardGame.UnityInvalid || !string.IsNullOrEmpty(Current.Error)
|| Current.Id.Equals(Tags.StandardPlayingCardsDirectoryName))
bool callGameReady = Current == null || Current == UnityCardGame.UnityInvalid || !string.IsNullOrEmpty(Current.Error)
|| Current.Id.Equals(Tags.StandardPlayingCardsDirectoryName);
Debug.Log("CardGameManager::Start:callGameReady " + callGameReady);
if (callGameReady)
GameReady();
}
#endif
Expand Down

0 comments on commit c320041

Please sign in to comment.