Fixed spectator camera position
This commit is contained in:
@@ -117,15 +117,9 @@ namespace SeamlessClientPlugin
|
||||
private System.Timers.Timer PingTimer = new System.Timers.Timer(3000);
|
||||
|
||||
public static LoadServer Server = new LoadServer();
|
||||
|
||||
|
||||
public static bool IsSwitching = false;
|
||||
public static bool RanJoin = false;
|
||||
|
||||
|
||||
|
||||
public static Action JoinAction = () => { };
|
||||
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
@@ -219,12 +213,9 @@ namespace SeamlessClientPlugin
|
||||
IsSwitching = true;
|
||||
TransferMessage.PingServerAndBeginRedirect();
|
||||
RanJoin = false;
|
||||
MySession.Static.SetCameraController(VRage.Game.MyCameraControllerEnum.SpectatorFixed);
|
||||
//DisposeInitilizations();
|
||||
}
|
||||
else if (Recieved.MessageType == ClientMessageType.FirstJoin)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@@ -304,6 +304,8 @@ namespace SeamlessClientPlugin.SeamlessTransfer
|
||||
|
||||
//MyScreenManager.CloseScreen(GUIScreenChat);
|
||||
MyHud.Chat.RegisterChat(MyMultiplayer.Static);
|
||||
//MySession.SetSpectatorPositionFromServer(SeamlessClient.PreviousPosition ?? Vector3D.Zero);
|
||||
MySession.Static.SetCameraController(MyCameraControllerEnum.SpectatorFixed);
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Reference in New Issue
Block a user