Fix logout flow, reentry instead half logout because sdk only except that

This commit is contained in:
HungDK
2026-05-07 15:51:33 +07:00
parent 27b453b251
commit 925f2cf562
3 changed files with 46 additions and 14 deletions
@@ -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)