Merge branch 'PluginLoader' of https://github.com/Casimir255/SeamlessClientPlugin into PluginLoader

This commit is contained in:
Bob Da Ross
2021-06-17 00:15:22 -05:00
5 changed files with 376 additions and 2 deletions

View File

@@ -198,7 +198,6 @@ namespace SeamlessClientPlugin.SeamlessTransfer
MySession.Static.InGameTime = MyObjectBuilder_Checkpoint.DEFAULT_DATE;
MySession.Static.ElapsedGameTime = new TimeSpan(TargetWorld.Checkpoint.ElapsedGameTime);
MySession.Static.Settings.EnableSpectator = false;
MySession.Static.Password = TargetWorld.Checkpoint.Password;
MySession.Static.PreviousEnvironmentHostility = TargetWorld.Checkpoint.PreviousEnvironmentHostility;
@@ -352,7 +351,7 @@ namespace SeamlessClientPlugin.SeamlessTransfer
//Clear all old players and clients.
Sync.Clients.Clear();
Sync.Players.ClearPlayers();
MyHud.Chat.UnregisterChat(MyMultiplayer.Static);
MySession.Static.Gpss.RemovePlayerGpss(MySession.Static.LocalPlayerId);