Skip to content

Commit d4c3f53

Browse files
github-actions[bot]LucasLioyQAaixaCodegonpombo8lorux0
authored
chore: sync main to dev (#6107)
* hotfix: support multiple scenes in world (#6099) * support multiple scenes in world * dont wait to attach transport to set the worker on the local storage # Conflicts: # browser-interface/packages/shared/world/SceneWorker.ts * remove sourcemap commit * fix: emote amount display --------- Signed-off-by: Aga <aga@besz.me> Co-authored-by: LucasLioyQA <146749313+LucasLioyQA@users.noreply.github.com> Co-authored-by: Agnieszka Besz <aga@besz.me> Co-authored-by: Gonzalo DCL <gonzalo@decentraland.org> Co-authored-by: Nicolas Lorusso <nalorusso@gmail.com> Co-authored-by: Ludmilafantaniella <146741383+Ludmilafantaniella@users.noreply.github.com>
1 parent 7467913 commit d4c3f53

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)