#fixedGPS

This commit is contained in:
Garrett Fulghum
2022-05-26 21:57:25 -05:00
parent e2ec73610f
commit 3eae2e1a9a

View File

@@ -255,9 +255,18 @@ namespace SeamlessClientPlugin.SeamlessTransfer
MySession.Static.CustomLoadingScreenText = TargetWorld.Checkpoint.CustomLoadingScreenText; MySession.Static.CustomLoadingScreenText = TargetWorld.Checkpoint.CustomLoadingScreenText;
MySession.Static.CustomSkybox = TargetWorld.Checkpoint.CustomSkybox; 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(); MyRenderProxy.RebuildCullingStructure();
//MySession.Static.Toolbars.LoadToolbars(checkpoint); //MySession.Static.Toolbars.LoadToolbars(checkpoint);