From a21ff70b21ade03d594100e6974fa046fbbf9f07 Mon Sep 17 00:00:00 2001 From: Christian 'ketura' McCarty Date: Wed, 9 Apr 2025 19:22:30 -0500 Subject: [PATCH] Fixing a bad tengwar detection causing Towers packs (with the capital T) to show up as an error image. --- .../gemp-lotr-async/src/main/web/js/gemp-022/cards/Card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/cards/Card.js b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/cards/Card.js index 8f260588d..f2bb833d3 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/cards/Card.js +++ b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/cards/Card.js @@ -112,7 +112,7 @@ class Card { this.bareBlueprint = this.bareBlueprint + "ai"; } - this.tengwar = this.blueprintId.includes("T"); + this.tengwar = this.blueprintId.match(/(_\d+)T/); this.hasWiki = Card.getFixedImage(this.bareBlueprint) == null && packBlueprints[this.bareBlueprint] == null;