Always reset server with back to lobby function added
This commit is contained in:
parent
d049ffa1d5
commit
cbb26b73d9
@ -1043,8 +1043,7 @@ void ServerLobby::update(int ticks)
|
||||
if ((m_state.load() > WAITING_FOR_START_GAME ||
|
||||
m_game_setup->isGrandPrixStarted()) &&
|
||||
(STKHost::get()->getPlayersInGame() == 0 ||
|
||||
all_players_in_world_disconnected) &&
|
||||
NetworkConfig::get()->getServerIdFile().empty())
|
||||
all_players_in_world_disconnected))
|
||||
{
|
||||
if (RaceEventManager::getInstance() &&
|
||||
RaceEventManager::getInstance()->isRunning())
|
||||
|
Loading…
Reference in New Issue
Block a user