Krypt0n 8 months ago
parent
commit
a55451be59
1 changed files with 5 additions and 5 deletions
  1. 5 5
      FactorioModManager/Form1.cs

+ 5 - 5
FactorioModManager/Form1.cs

@@ -12,13 +12,13 @@ using System.Threading;
 using System.Threading.Tasks;
 using System.Windows.Forms;
 
-using static FactorioModManager.ModWorker;
+//using FactorioModManager.ModWorker;
 
 namespace FactorioModManager
 {
     public partial class Form1 : Form
     {
-        public Version Version = new Version("0.0.1");
+        public Version Version = new Version("0.0.2");
         
         public string SettingsFile = Path.Combine(Directory.GetCurrentDirectory(), @"data\settings\settings.settings");
         public F_API api = new F_API();
@@ -367,10 +367,10 @@ namespace FactorioModManager
                     sw.WriteLine(Worker.GetModList(true));
                 }
 
-                List<Mod> mods = Worker.InstalledMods.Where(x => x.Enabled).ToList();
-                foreach (Mod mod in mods)
+                List<ModWorker.Mod> mods = Worker.InstalledMods.Where(x => x.Enabled).ToList();
+                foreach (ModWorker.Mod mod in mods)
                 {
-                    if (DLC_MODS.Contains(mod.Name)) continue;
+                    if (ModWorker.DLC_MODS.Contains(mod.Name)) continue;
 
                     using (Stream modInZip = result.CreateEntry(mod.FileName).Open())
                     {