Skip to content

Commit

Permalink
Fix footer
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Oct 29, 2023
1 parent 1f65541 commit ca6f44f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
16 changes: 13 additions & 3 deletions Assets/Scenes/MainMenu.unity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Assets/Scripts/Cgs/Menu/MainMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class MainMenu : MonoBehaviour
public static string WelcomeMessageExt =>
"The CGS website has guides/resources that may help new users.\n" + "Go to the CGS website?";
#endif
private const string FinolDigitalLlc = "Finol Digital LLC";
private const string PlayerPrefsHasSeenWelcome = "HasSeenWelcome";

private static bool HasSeenWelcome
Expand Down Expand Up @@ -73,8 +74,8 @@ private void OnEnable()

private void SetCopyright()
{
if (!string.IsNullOrWhiteSpace(CardGameManager.Current.Copyright))
copyrightText.text = CardGameManager.Current.Copyright;
var copyright = CardGameManager.Current.Copyright;
copyrightText.text = string.IsNullOrWhiteSpace(copyright) ? FinolDigitalLlc : copyright;
}

private void Start()
Expand Down

0 comments on commit ca6f44f

Please sign in to comment.