mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-01 08:30:20 -07:00
crash fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user