Fix logout flow, reentry instead half logout because sdk only except that
This commit is contained in:
@@ -264,8 +264,11 @@ namespace BrewMonster.Network
|
||||
// Force the login UI to refresh to the correct entry state immediately.
|
||||
ApplyLoginEntryToUI(entryTarget);
|
||||
|
||||
// now we have to logout from Tech3C SDK
|
||||
Tech3CSDKWrapper.Instance.Logout();
|
||||
if (entryTarget == LogoutFlowState.LoginEntryTarget.LoginUI)
|
||||
{
|
||||
// Account logout only; half logout keeps SDK credentials so LoginScene can reopen role select.
|
||||
Tech3CSDKWrapper.Instance.Logout();
|
||||
}
|
||||
}
|
||||
|
||||
private static void ApplyLoginEntryToUI(LogoutFlowState.LoginEntryTarget entryTarget)
|
||||
|
||||
Reference in New Issue
Block a user