Skip to content

Commit

Permalink
fix: pvp filter in when all is set
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Apr 27, 2024
1 parent 9dc5d03 commit 2acf75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/services/filters/pokemon/Backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ module.exports = class PkmnBackend {
*/
getRanks(league, data) {
const filtered =
this.mods.onlyAllPvp || this.mods.onlyLegacy
this.mods.onlyAllPvp || this.mods.onlyLegacy || this.filter.all
? data
: data.filter((entry) => {
const valid =
Expand Down

0 comments on commit 2acf75f

Please sign in to comment.