fixed client crash that occurred when the game ended with a card tap/untap animation running
This commit is contained in:
parent
332ca29d62
commit
61b351aa9f
1 changed files with 3 additions and 0 deletions
|
@ -112,6 +112,9 @@ CardItem::~CardItem()
|
|||
{
|
||||
prepareDelete();
|
||||
|
||||
if (scene())
|
||||
static_cast<GameScene *>(scene())->unregisterAnimationItem(this);
|
||||
|
||||
delete cardMenu;
|
||||
cardMenu = 0;
|
||||
delete moveMenu;
|
||||
|
|
Loading…
Reference in a new issue