add restart command

This commit is contained in:
2023-08-14 17:46:49 +02:00
parent f9f80fc4fb
commit 49a5a09537
2 changed files with 9 additions and 1 deletions

View File

@@ -57,6 +57,8 @@ void Server::Restart() {
m_Lobby.OpenLobby();
m_Game.NotifyListeners(&game::GameListener::OnGameStateUpdate, game::GameState::Lobby);
utils::LOG("Game restarted !");
}
void Server::Close() {