mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-26 04:40:50 -08:00
crash fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user