Instinct: EditIsland crash fix

This commit is contained in:
GrapeshotGames 2019-01-31 18:22:34 -05:00
parent c6c2338443
commit 8b2900fa6b
2 changed files with 7 additions and 7 deletions

Binary file not shown.

View file

@ -215,7 +215,7 @@ namespace ServerGridEditor
editedIsland.imagePath = newImgPath; editedIsland.imagePath = newImgPath;
} }
if (modNameTxtBox.Text != editedIsland.modDir) if (editedIsland.modDir != null && editedIsland.modDir != null && modNameTxtBox.Text != editedIsland.modDir)
{ {
//Mod dir changed //Mod dir changed
if (!string.IsNullOrWhiteSpace(modNameTxtBox.Text)) if (!string.IsNullOrWhiteSpace(modNameTxtBox.Text))