mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +00:00
ServerStateManager: going to the eye from the menu shouldnt WaitingForAllPlayersToReady
This commit is contained in:
parent
647e2f8026
commit
293e011be1
@ -83,7 +83,15 @@ internal class ServerStateManager : MonoBehaviour
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case OWScene.EyeOfTheUniverse:
|
case OWScene.EyeOfTheUniverse:
|
||||||
|
if (oldScene == OWScene.SolarSystem)
|
||||||
|
{
|
||||||
new ServerStateMessage(ServerState.WaitingForAllPlayersToReady).Send();
|
new ServerStateMessage(ServerState.WaitingForAllPlayersToReady).Send();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
new ServerStateMessage(ServerState.InEye).Send();
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OWScene.None:
|
case OWScene.None:
|
||||||
|
Loading…
Reference in New Issue
Block a user