From 929cbd3f1250304c5be3969c6aeebe786889fc49 Mon Sep 17 00:00:00 2001 From: Blank Date: Sun, 4 Aug 2024 22:50:21 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]1.=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=94=AF=E4=B8=80ID=E7=9A=84=E7=94=9F=E6=88=90=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GameFrameX.Hotfix/Logic/Account/Login/LoginComponentAgent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameFrameX.Hotfix/Logic/Account/Login/LoginComponentAgent.cs b/GameFrameX.Hotfix/Logic/Account/Login/LoginComponentAgent.cs index 201bfcb..92b19ae 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.GetActorId(ActorType.Account); + var accountId = ActorIdGenerator.GetUniqueId(IdModule.Account); loginState = await OwnerComponent.Register(accountId, reqLogin); }