Howdy
I have an issue with the onPlayerHandSelectionChanged() function.
i've added a if (this.checkAction('giveCards')) there where cards are directly moved on the table when the player clicks on them during 'giveCards' state.
later, on another state, when the player clicks on a card to select it, a warning 'This move is not authorized now' appears.
He is able to validate the choice but how can I get rid of it ?
The warning does not appear if I delete all the if (this.checkAction('giveCards')) bracket...
I have an issue with the onPlayerHandSelectionChanged() function.
i've added a if (this.checkAction('giveCards')) there where cards are directly moved on the table when the player clicks on them during 'giveCards' state.
later, on another state, when the player clicks on a card to select it, a warning 'This move is not authorized now' appears.
He is able to validate the choice but how can I get rid of it ?
The warning does not appear if I delete all the if (this.checkAction('giveCards')) bracket...