Fixed water tile picker system (#27)

* Added default values to Redis DB config

* Fixed water tile dialog picking water tiles works correctly, File.Copy(string, string, bool) 2nd argument cannot be a directory it has to be a file within a directory
This commit is contained in:
wartech0 2019-01-02 15:23:30 -06:00 committed by GrapeshotGames
parent 37d9e2c930
commit 376c3870cd
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -1862,7 +1862,7 @@ namespace ServerGridEditor
if (tile != null)
tile.Dispose();
File.Copy(openFileDialog.FileName, imgName, true);
File.Copy(openFileDialog.FileName, imgName + openFileDialog.SafeFileName, true);
SetTileImage(openFileDialog.FileName);
currentProject.showBackground = true;
currentProject.backgroundImgPath = imgName;