ServerStateManager: going to the eye from the menu shouldnt WaitingForAllPlayersToReady

This commit is contained in:
JohnCorby 2022-06-09 10:10:36 -07:00
parent 647e2f8026
commit 293e011be1

View File

@ -83,7 +83,15 @@ internal class ServerStateManager : MonoBehaviour
break;
case OWScene.EyeOfTheUniverse:
new ServerStateMessage(ServerState.WaitingForAllPlayersToReady).Send();
if (oldScene == OWScene.SolarSystem)
{
new ServerStateMessage(ServerState.WaitingForAllPlayersToReady).Send();
}
else
{
new ServerStateMessage(ServerState.InEye).Send();
}
break;
case OWScene.None: