Skip to content

Commit

Permalink
make regions be okay with categories too
Browse files Browse the repository at this point in the history
  • Loading branch information
FuzzyGamesOn committed Aug 14, 2024
1 parent d071d9d commit 02e3716
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ const app = createApp({
let required_items = getItemsListedInRequirements(region.requirements);

for (let required_item of required_items) {
if (required_item.substring(0, 1) == '@') continue; // no category validation for now

if (!this.getItemNames.includes(required_item)) {
region.validation_error = `Required item "${required_item}" is misspelled or does not exist.`;

Expand Down

0 comments on commit 02e3716

Please sign in to comment.