Fixing the move card.

This commit is contained in:
marcins78@gmail.com
2011-09-12 21:07:35 +00:00
parent f4de919cf5
commit afdc9ad1d3

View File

@@ -482,7 +482,7 @@ var GempLotrGameUI = Class.extend({
if (targetCardId != null) {
// attach to new card if it's attached
var targetCardData = $(".card:cardId(" + targetCardId + ")").data("card");
targetCardData.attachedCards.push(cardDiv);
targetCardData.attachedCards.push(card);
}
},