Fixed: missing check

ryzom/sheets
Ulukyn 5 years ago
parent 10f864b234
commit 9e5f20a679

@ -432,8 +432,8 @@ void CGameContextMenu::update()
_TextAttack->setActive(canAttack()); _TextAttack->setActive(canAttack());
if (_TextNews) if (_TextNews)
_TextNews->setActive(!canAttack()); _TextNews->setActive(selection && !canAttack());
if (_TextDuel && _TextUnDuel) if (_TextDuel && _TextUnDuel)
{ {
if ((!UserEntity->isRiding()) && (_ServerInDuel->getValue8() != 0)) if ((!UserEntity->isRiding()) && (_ServerInDuel->getValue8() != 0))

Loading…
Cancel
Save