Skip to content

Commit d22010f

Browse files
committed
fix: emote amount display
1 parent e091cf5 commit d22010f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/BackpackEditorHUDV2/BackpackEmotesSectionController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ async UniTaskVoid LoadEmotesAsync(CancellationToken ct = default)
112112
foreach (var emote in allEmotes)
113113
{
114114
if (consolidatedEmotes.TryGetValue(emote.id, out WearableItem consolidatedEmote))
115-
consolidatedEmote.amount += emote.amount + 1;
115+
consolidatedEmote.amount += emote.amount;
116116
else
117117
{
118-
emote.amount++;
118+
emote.amount = 1;
119119
consolidatedEmotes[emote.id] = emote;
120120
}
121121
}

0 commit comments

Comments
 (0)