mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
crash fix
This commit is contained in:
parent
405a247c2c
commit
ddd58d6736
1 changed files with 2 additions and 1 deletions
|
|
@ -698,7 +698,8 @@ void Player::processGameEvent(GameEvent *event)
|
|||
|
||||
void Player::showCardMenu(const QPoint &p)
|
||||
{
|
||||
cardMenu->exec(p);
|
||||
if (cardMenu)
|
||||
cardMenu->exec(p);
|
||||
}
|
||||
|
||||
void Player::setActive(bool _active)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue