Always reset server with back to lobby function added

This commit is contained in:
Benau 2019-01-06 14:18:21 +08:00
parent d049ffa1d5
commit cbb26b73d9

View File

@ -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())