From 02e3716d2c9ac0417a107f2a8b55b82ddcd87cfd Mon Sep 17 00:00:00 2001 From: Fuzzy Date: Wed, 14 Aug 2024 13:44:17 -0500 Subject: [PATCH] make regions be okay with categories too --- js/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/app.js b/js/app.js index 185d7db..c0e5e67 100644 --- a/js/app.js +++ b/js/app.js @@ -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.`;