Update card menu when its counters change (#3565)

This commit is contained in:
ctrlaltca 2019-02-08 07:50:35 +01:00 committed by Zach H
parent d932581f4a
commit 2703db75d0

View file

@ -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);
}