Revert "check if server state is not loaded, and fix it"

This reverts commit ce33d3290c.
This commit is contained in:
Mister_Nebula 2022-06-09 18:04:36 +01:00
parent a8f11d29e1
commit 647e2f8026

View File

@ -131,21 +131,6 @@ internal class ServerStateManager : MonoBehaviour
return;
}
if (_currentState == ServerState.NotLoaded
&& QSBSceneManager.IsInUniverse
&& QSBPlayerManager.LocalPlayer.State is ClientState.AliveInSolarSystem or ClientState.AliveInEye)
{
switch (QSBSceneManager.CurrentScene)
{
case OWScene.SolarSystem:
new ServerStateMessage(ServerState.InSolarSystem).Send();
break;
case OWScene.EyeOfTheUniverse:
new ServerStateMessage(ServerState.InEye).Send();
break;
}
}
if (_currentState == ServerState.WaitingForAllPlayersToReady)
{
if (QSBPlayerManager.PlayerList.All(x