private static Task LoadOptions() { return(Task.Run(() => { ModList = new ModList(); SMAPI = new SmapiIntegration(); Options = ModList.Where(mod => !mod.Value.Disabled && mod.Value.Options != null).SelectMany(mod => mod.Value.Options).ToList(); FavoriteData.LoadOptions(); })); }
private static Task LoadOptions() { return(Task.Run(() => { ModList = new ModList(); SMAPI = new SmapiIntegration(); Options = ModList.SelectMany(mod => mod.Value.Options).ToList(); LoadFavoriteOptions(); })); }