feat: update player auth, fix bugs
This commit is contained in:
@@ -105,9 +105,9 @@ func _save_session(session: NakamaSession, mode: AuthMode) -> void:
|
||||
|
||||
func clear_session() -> void:
|
||||
if FileAccess.file_exists(SESSION_FILE):
|
||||
DirAccess.remove_absolute(ProjectSettings.globalize_path(SESSION_FILE))
|
||||
DirAccess.remove_absolute(SESSION_FILE)
|
||||
if FileAccess.file_exists(CREDENTIALS_FILE):
|
||||
DirAccess.remove_absolute(ProjectSettings.globalize_path(CREDENTIALS_FILE))
|
||||
DirAccess.remove_absolute(CREDENTIALS_FILE)
|
||||
|
||||
# =============================================================================
|
||||
# Guest Authentication
|
||||
|
||||
Reference in New Issue
Block a user