public ThreadedGameLoader2(SaveInfo m_SaveInfo, bool isSmokeTest) { this.m_SaveInfo = m_SaveInfo; this.m_IsSmokeTest = isSmokeTest; try { // Usually AreaDataStash.ClearAll (clear area folder) is called before this ctor is invoked if (m_SaveInfo.Saver.GetType() == typeof(ZipSaver2)) { AreaDataStash2.ClearAll2(); // keep the old functionality } else { RemoveAllFilesNotInSaveGame(); } } catch (Exception ex) { BattleLogHelper.LogDebug($"ThreadedGameLoader .ctor {ex.ToString()}"); } }
public new void LoadNewGame(BlueprintAreaPreset preset) { AreaDataStash2.ClearAll2(); // will call AreaDataStash.ClearAll2(); LoadNewGameB(preset); }