Skip to content

Commit

Permalink
Overwrite character id with player id when logging in
Browse files Browse the repository at this point in the history
  • Loading branch information
sorokya committed Mar 27, 2022
1 parent 63d3eaf commit 14a1aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EOLib/Domain/Login/LoginActions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public async Task<CharacterLoginReply> 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)
Expand Down

0 comments on commit 14a1aff

Please sign in to comment.