Skip to content

Commit

Permalink
Fix max region check in shopMon
Browse files Browse the repository at this point in the history
  • Loading branch information
wormania committed Jun 15, 2024
1 parent 0aaba62 commit f6c956f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -79473,7 +79473,7 @@ module.exports = {

},{}],526:[function(require,module,exports){
function getShopItemsByCurrencyAndFilter(currency, itemFilter) {
var towns = Object.values(TownList).filter(t => t.region < GameConstants.MAX_AVAILABLE_REGION);
var towns = Object.values(TownList).filter(t => t.region <= GameConstants.MAX_AVAILABLE_REGION);
var filteredTowns = [];
var filteredShops = [];

Expand Down
2 changes: 1 addition & 1 deletion scripts/pages/shopMon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function getShopItemsByCurrencyAndFilter(currency, itemFilter) {
var towns = Object.values(TownList).filter(t => t.region < GameConstants.MAX_AVAILABLE_REGION);
var towns = Object.values(TownList).filter(t => t.region <= GameConstants.MAX_AVAILABLE_REGION);
var filteredTowns = [];
var filteredShops = [];

Expand Down

0 comments on commit f6c956f

Please sign in to comment.