fix persistent players

This commit is contained in:
2023-08-14 13:59:30 +02:00
parent 0c0fd155ed
commit 7986e55846
4 changed files with 13 additions and 2 deletions

View File

@@ -53,9 +53,10 @@ void Server::StartThread() {
}
void Server::Restart() {
m_Game.GetWorld()->Reset();
m_Lobby.OpenLobby();
m_Game.Reset();
m_Game.SetGameState(game::GameState::Lobby);
m_Lobby.OpenLobby();
}
void Server::Close() {