diff --git a/ServerGridEditor.exe b/ServerGridEditor.exe index b129a1e..51cb046 100644 Binary files a/ServerGridEditor.exe and b/ServerGridEditor.exe differ diff --git a/Src/ServerGridEditor/Forms/MainForm.cs b/Src/ServerGridEditor/Forms/MainForm.cs index 92b5e38..71c9ac0 100644 --- a/Src/ServerGridEditor/Forms/MainForm.cs +++ b/Src/ServerGridEditor/Forms/MainForm.cs @@ -1129,7 +1129,8 @@ namespace ServerGridEditor Dictionary originalIslands = new Dictionary(); foreach (Island island in allIslands) - if (island.modDir != null) + { + if (!string.IsNullOrWhiteSpace(island.modDir)) { //This is a mod island group it to be saved Dictionary modIslandsDict = null; @@ -1145,6 +1146,7 @@ namespace ServerGridEditor { originalIslands.Add(island.name, island); } + } //Serialize Main island file string json = JsonConvert.SerializeObject(originalIslands, Formatting.Indented);