This commit is contained in:
RickyRister 2025-01-01 22:20:39 -08:00
parent 25ab53fac4
commit 4ff2ce0560
2 changed files with 7 additions and 0 deletions

View file

@ -223,6 +223,11 @@ void MainWindow::actSinglePlayer()
if (!ok)
return;
startLocalGame(numberPlayers);
}
void MainWindow::startLocalGame(int numberPlayers)
{
aConnect->setEnabled(false);
aRegister->setEnabled(false);
aForgotPassword->setEnabled(false);

View file

@ -126,6 +126,8 @@ private:
};
void exitCardDatabaseUpdate();
void startLocalGame(int numberPlayers);
QList<QMenu *> tabMenus;
QMenu *cockatriceMenu, *dbMenu, *helpMenu, *trayIconMenu;
QAction *aConnect, *aDisconnect, *aSinglePlayer, *aWatchReplay, *aDeckEditor, *aFullScreen, *aSettings, *aExit,