mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 00:12:15 -07:00
Don't check playerInfo in sbMenu shortcutsActive
Took 3 minutes
This commit is contained in:
parent
2ee286ae05
commit
b0605a6eb9
1 changed files with 1 additions and 3 deletions
|
|
@ -24,9 +24,7 @@ void SideboardMenu::setShortcutsActive()
|
|||
{
|
||||
ShortcutsSettings &shortcuts = SettingsCache::instance().shortcuts();
|
||||
|
||||
if (player->getPlayerInfo()->getLocalOrJudge()) {
|
||||
aViewSideboard->setShortcuts(shortcuts.getShortcut("Player/aViewSideboard"));
|
||||
}
|
||||
aViewSideboard->setShortcuts(shortcuts.getShortcut("Player/aViewSideboard"));
|
||||
}
|
||||
|
||||
void SideboardMenu::setShortcutsInactive()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue