mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Player holds the deck, emits deckChanged(), other elements player->getDeck() to respond to changes.
Took 37 minutes
This commit is contained in:
parent
57aa1abc69
commit
c344b40a71
8 changed files with 61 additions and 41 deletions
|
|
@ -834,7 +834,7 @@ void PlayerActions::actRollDie()
|
|||
|
||||
void PlayerActions::actCreateToken()
|
||||
{
|
||||
DlgCreateToken dlg(player->getPlayerInfo()->getPredefinedTokens(), player->getGame());
|
||||
DlgCreateToken dlg(player->getPlayerMenu()->getPredefinedTokens(), player->getGame());
|
||||
if (!dlg.exec()) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue