From 3eae2e1a9a9416916a5e74c815bca4f6cae49653 Mon Sep 17 00:00:00 2001 From: Garrett Fulghum Date: Thu, 26 May 2022 21:57:25 -0500 Subject: [PATCH] #fixedGPS --- SeamlessTransfer/SwitchServers.cs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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);