diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-011/jCards.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-011/jCards.js index 002ef4243..0d55f4bd2 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-011/jCards.js +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-011/jCards.js @@ -117,8 +117,6 @@ var Card = Class.extend({ errata:null, init:function (blueprintId, zone, cardId, owner, siteNumber) { - this.blueprintId = blueprintId; - var len = blueprintId.length; this.foil = blueprintId.substring(len - 1, len) == "*"; if (this.foil) @@ -128,6 +126,8 @@ var Card = Class.extend({ if (this.tengwar) blueprintId = blueprintId.substring(0, len - 1); + this.blueprintId = blueprintId; + this.zone = zone; this.cardId = cardId; this.owner = owner;