Fixing a bad tengwar detection causing Towers packs (with the capital T) to show up as an error image.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user