private void LoadMarks(bool forceReload) { if (SectorCache == null || forceReload) // Load sectors, after successful load, add marks { SectorCache = new List <MyMwcSectorIdentifier>(); var progressScreen = new MyGuiScreenLoadSectorIdentifiersProgress(MyMwcSectorTypeEnum.STORY, true, SectorIdentifiersLoaded); MyGuiManager.AddScreen(progressScreen); } else { AddMarks(); // Add marks now } }
private void LoadMarks(bool forceReload) { if (SectorCache == null || forceReload) // Load sectors, after successful load, add marks { SectorCache = new List<MyMwcSectorIdentifier>(); var progressScreen = new MyGuiScreenLoadSectorIdentifiersProgress(MyMwcSectorTypeEnum.STORY, true, SectorIdentifiersLoaded); MyGuiManager.AddScreen(progressScreen); } else { AddMarks(); // Add marks now } }