Skip to content

Commit

Permalink
Merge pull request #2488 from planetarium/improve/refactor-arena-worker
Browse files Browse the repository at this point in the history
Reduce memory allocate in arena worker
  • Loading branch information
ipdae authored Jun 17, 2024
2 parents d3f1eeb + d6f2ea6 commit b641dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NineChronicles.Headless/ArenaParticipantsWorker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public static List<ArenaParticipant> GetArenaParticipants(IWorldState worldState
{
var (avatarAddr, score, rank) = tuple;
var runeStates = worldState.GetRuneState(avatarAddr, out _);
var avatar = worldState.GetAvatarState(avatarAddr);
var avatar = worldState.GetAvatarState(avatarAddr, getWorldInformation: false, getQuestList: false);
var itemSlotState =
worldState.GetLegacyState(ItemSlotState.DeriveAddress(avatarAddr, BattleType.Arena)) is
List itemSlotList
Expand Down

0 comments on commit b641dce

Please sign in to comment.