I couldn't get this to work:
this.stTableCards.changeItemsWeight( { card_type : parseInt(card.location_arg) } );
But if I manually change it, then it works....?
this.stTableCards.item_type[card_type].weight = parseInt(card.location_arg);
feels like I'm missing something quite basic...
this.stTableCards.changeItemsWeight( { card_type : parseInt(card.location_arg) } );
But if I manually change it, then it works....?
this.stTableCards.item_type[card_type].weight = parseInt(card.location_arg);
feels like I'm missing something quite basic...