File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -63,25 +63,6 @@ async void OnEnable()
63
63
SaveManager . Instance . IsLoggedIn = false ;
64
64
}
65
65
66
- // Check if the player is supposed to be logged in
67
- if ( SaveManager . Instance . IsLoggedIn )
68
- {
69
- // Check if there are credentials saved
70
- bool hasCredentialsSaved = await Passport . Instance . HasCredentialsSaved ( ) ;
71
- if ( hasCredentialsSaved )
72
- {
73
- // Try to log in using saved credentials
74
- bool success = await Passport . Instance . Login ( useCachedSession : true ) ;
75
- // Update the login flag
76
- SaveManager . Instance . IsLoggedIn = success ;
77
- }
78
- else
79
- {
80
- // No saved credentials to re-login the player, reset the login flag
81
- SaveManager . Instance . IsLoggedIn = false ;
82
- }
83
- }
84
-
85
66
ShowLoading ( false ) ;
86
67
ShowStartButton ( true ) ;
87
68
}
You can’t perform that action at this time.
0 commit comments