From 14a1aff98c9730988826711cd44286a3946c5d70 Mon Sep 17 00:00:00 2001 From: sorokya Date: Sun, 27 Mar 2022 12:04:01 +0200 Subject: [PATCH] Overwrite character id with player id when logging in --- EOLib/Domain/Login/LoginActions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EOLib/Domain/Login/LoginActions.cs b/EOLib/Domain/Login/LoginActions.cs index 65f105a8a..606b18b87 100644 --- a/EOLib/Domain/Login/LoginActions.cs +++ b/EOLib/Domain/Login/LoginActions.cs @@ -164,7 +164,7 @@ public async Task CompleteCharacterLogin(short sessionID) .WithNewStat(CharacterStat.MaxTP, mainCharacter.Stats[CharacterStat.MaxTP]); _characterRepository.MainCharacter = _characterRepository.MainCharacter - .WithID(mainCharacter.ID) + .WithID(_playerInfoRepository.PlayerID) .WithName(mainCharacter.Name) .WithMapID(mainCharacter.MapID) .WithGuildTag(mainCharacter.GuildTag)