diff --git a/GameFrameX.Hotfix/Logic/Account/Login/LoginComponentAgent.cs b/GameFrameX.Hotfix/Logic/Account/Login/LoginComponentAgent.cs index 92b19ae..201bfcb 100644 --- a/GameFrameX.Hotfix/Logic/Account/Login/LoginComponentAgent.cs +++ b/GameFrameX.Hotfix/Logic/Account/Login/LoginComponentAgent.cs @@ -26,7 +26,7 @@ public async Task OnLogin(INetWorkChannel workChannel, ReqLogin reqLogin) var loginState = await OwnerComponent.OnLogin(reqLogin); if (loginState == null) { - var accountId = ActorIdGenerator.GetUniqueId(IdModule.Account); + var accountId = ActorIdGenerator.GetActorId(ActorType.Account); loginState = await OwnerComponent.Register(accountId, reqLogin); }