fix server state issue?

fixes #277 ?
This commit is contained in:
Mister_Nebula 2021-10-20 17:41:03 +01:00
parent 049b82a483
commit fea1d20fc4

View File

@ -125,7 +125,8 @@ namespace QSB.ClientServerStateSync
if (_currentState == ServerState.WaitingForAllPlayersToReady)
{
if (QSBPlayerManager.PlayerList.All(x => x.State == ClientState.WaitingForOthersToReadyInSolarSystem))
if (QSBPlayerManager.PlayerList.All(x => x.State == ClientState.WaitingForOthersToReadyInSolarSystem)
|| QSBPlayerManager.PlayerList.All(x => x.State == ClientState.AliveInSolarSystem))
{
DebugLog.DebugWrite($"All ready!!");
QSBEventManager.FireEvent(EventNames.QSBStartLoop);