diff --git a/SeamlessTransfer/SwitchServers.cs b/SeamlessTransfer/SwitchServers.cs index 2563cba..1582702 100644 --- a/SeamlessTransfer/SwitchServers.cs +++ b/SeamlessTransfer/SwitchServers.cs @@ -255,9 +255,18 @@ namespace SeamlessClientPlugin.SeamlessTransfer MySession.Static.CustomLoadingScreenText = TargetWorld.Checkpoint.CustomLoadingScreenText; MySession.Static.CustomSkybox = TargetWorld.Checkpoint.CustomSkybox; + try + { + MySession.Static.Gpss = new MyGpsCollection(); + MySession.Static.Gpss.LoadGpss(TargetWorld.Checkpoint); + + } + catch(Exception ex) + { + SeamlessClient.TryShow($"An error occured while loading GPS points! You will have an empty gps list! \n {ex.ToString()}"); + } + - MySession.Static.Gpss = new MyGpsCollection(); - MySession.Static.Gpss.LoadGpss(TargetWorld.Checkpoint); MyRenderProxy.RebuildCullingStructure(); //MySession.Static.Toolbars.LoadToolbars(checkpoint);