mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 14:50:56 +00:00
Update change-log. Fix a bug with cheer stacking when the standard cheers aren't available.
This commit is contained in:
parent
b44740744b
commit
8dbcf434cd
2 changed files with 11 additions and 2 deletions
|
@ -393,8 +393,11 @@ export const CheerEmotes = {
|
|||
});
|
||||
|
||||
if ( collect ) {
|
||||
const pref = collect === 2 ? 'cheer' : prefix,
|
||||
group = collected[pref] = collected[pref] || {total: 0, individuals: []};
|
||||
let pref = collect === 2 ? 'cheer' : prefix;
|
||||
if ( ! actions[pref] )
|
||||
pref = prefix;
|
||||
|
||||
const group = collected[pref] = collected[pref] || {total: 0, individuals: []};
|
||||
|
||||
group.total += amount;
|
||||
group.individuals.push([amount, tier, prefix]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue