private void GameLoop_SaveLoaded(object sender, SaveLoadedEventArgs e) { this.ActiveSaveData = ActiveSaveData.Load(this.helper); this.RunPathHandler?.Dispose(); this.RunPathHandler = new RunPathHandler(this.config, this.helper, this.monitor, this.ActiveSaveData); this.CurrentDay = SDate.Now(); }
public RunPathHandler(ModConfig config, IModHelper helper, IMonitor monitor, ActiveSaveData activeSaveData) : base(config, helper, monitor) { this.activeSaveData = activeSaveData; }