Merge branch 'dev' into steamworks

This commit is contained in:
Mister_Nebula 2022-01-16 17:45:56 +00:00
commit 224698ee94
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ namespace QSB.Menus
private void OnEyeStateChanged(EyeState state) private void OnEyeStateChanged(EyeState state)
{ {
if (state >= EyeState.IntoTheVortex) if (state >= EyeState.Observatory)
{ {
SetButtonActive(HostButton, false); SetButtonActive(HostButton, false);
} }

View File

@ -75,7 +75,7 @@ namespace QSB.Player.Messages
return; return;
} }
if (QSBPlayerManager.PlayerList.Any(x => x.EyeState >= EyeState.IntoTheVortex)) if (QSBPlayerManager.PlayerList.Any(x => x.EyeState >= EyeState.Observatory))
{ {
DebugLog.ToConsole($"Error - Client {PlayerName} connecting too late into eye scene.", MessageType.Error); DebugLog.ToConsole($"Error - Client {PlayerName} connecting too late into eye scene.", MessageType.Error);
new PlayerKickMessage(From, KickReason.InEye).Send(); new PlayerKickMessage(From, KickReason.InEye).Send();