mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
cardInfoPopup fix; chatView fix
This commit is contained in:
parent
9f098f2a6d
commit
0120d2a019
13 changed files with 38 additions and 25 deletions
|
|
@ -867,6 +867,8 @@ void Player::eventMoveCard(Event_MoveCard *event, GameEventContext *context)
|
|||
CardItem *card = startZone->takeCard(position, event->getCardId(), startZone != targetZone);
|
||||
if (!card)
|
||||
return;
|
||||
if (startZone != targetZone)
|
||||
card->deleteCardInfoPopup();
|
||||
card->setName(event->getCardName());
|
||||
|
||||
if (card->getAttachedTo() && (startZone != targetZone)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue