fix persistent players
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user