diff --git a/public/board.js b/public/board.js index 72534cd..02acb6d 100644 --- a/public/board.js +++ b/public/board.js @@ -758,6 +758,10 @@ class Board{ cardStatus[itemKey] = 'tapped'; // Do any other 'on tap' effects, etc. in the future } + untapCard(itemKey){ + cardStatus[itemKey] = null; + // Do any other 'on tap' effects, etc. in the future + } remainingShieldCount(playerId){ return getCurrentPositionAndLength('shield', playerId)[1]; } @@ -1045,7 +1049,7 @@ function untapZone(elementFrom, playerFrom){ // Just basic, if tapped, untap logic // See why the loop shouldn't need re-adding each time? if(cardStatus[itemKey] == 'tapped'){ - cardStatus[itemKey] = null; + board.untapCard(itemKey); } } }