Update card menu when its counters change (#3565)
This commit is contained in:
parent
d932581f4a
commit
2703db75d0
1 changed files with 1 additions and 0 deletions
|
@ -1549,6 +1549,7 @@ void Player::eventSetCardCounter(const Event_SetCardCounter &event)
|
|||
|
||||
int oldValue = card->getCounters().value(event.counter_id(), 0);
|
||||
card->setCounter(event.counter_id(), event.counter_value());
|
||||
updateCardMenu(card);
|
||||
emit logSetCardCounter(this, card->getName(), event.counter_id(), event.counter_value(), oldValue);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue