Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed May 29, 2024
1 parent dc99377 commit 6d72a27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/Runner/Scripts/Spawnable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected virtual void Awake()
#if UNITY_EDITOR
if (PrefabUtility.IsPartOfNonAssetPrefabInstance(gameObject))
#endif
m_Transform.SetParent(LevelManager.Instance.transform);
m_Transform.SetParent(LevelManager.Instance.transform);
}
}

Expand Down
4 changes: 3 additions & 1 deletion Assets/Shared/Scripts/UI/MainMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ async void OnEnable()
bool success = await Passport.Instance.Login(useCachedSession: true);
// Update the login flag
SaveManager.Instance.IsLoggedIn = success;
} else {
}
else
{
// No saved credentials to re-login the player, reset the login flag
SaveManager.Instance.IsLoggedIn = false;
}
Expand Down

0 comments on commit 6d72a27

Please sign in to comment.