Skip to content

Commit

Permalink
Remove duplicate shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
96LawDawg committed Jan 28, 2025
1 parent c64fa29 commit c158b58
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions client/js/widgets/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -1720,10 +1720,6 @@ export class Widget extends StateManaged {
return w.get(a.property) === a.value;
});

if (a.random) {
c = shuffleArray(c);
}

// resolve piles
if(a.type != 'pile') {
c.filter(w=>w.get('type')=='pile').forEach(w=>c.push(...w.children()));
Expand Down

0 comments on commit c158b58

Please sign in to comment.