Skip to content

Commit 929cbd3

Browse files
committed
[修改]1. 修改唯一ID的生成方式
1 parent f7b9121 commit 929cbd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GameFrameX.Hotfix/Logic/Account/Login/LoginComponentAgent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public async Task OnLogin(INetWorkChannel workChannel, ReqLogin reqLogin)
2626
var loginState = await OwnerComponent.OnLogin(reqLogin);
2727
if (loginState == null)
2828
{
29-
var accountId = ActorIdGenerator.GetActorId(ActorType.Account);
29+
var accountId = ActorIdGenerator.GetUniqueId(IdModule.Account);
3030
loginState = await OwnerComponent.Register(accountId, reqLogin);
3131
}
3232

0 commit comments

Comments
 (0)