mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
crash fix
This commit is contained in:
parent
a0cac4f464
commit
04d92048ff
1 changed files with 1 additions and 1 deletions
|
|
@ -749,7 +749,7 @@ void Player::eventDestroyCard(Event_DestroyCard *event)
|
|||
|
||||
emit logDestroyCard(this, card->getName());
|
||||
zone->takeCard(-1, event->getCardId(), QString(), true);
|
||||
delete card;
|
||||
card->deleteLater();
|
||||
}
|
||||
|
||||
void Player::eventAttachCard(Event_AttachCard *event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue