Skip to content
Snippets Groups Projects
Commit 26b43d82 authored by Kent Holt's avatar Kent Holt
Browse files

Fixed duplicated error

parent f69a31d5
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ public class CityGenWindow : EditorWindow ...@@ -58,7 +58,7 @@ public class CityGenWindow : EditorWindow
// Creates a directory in local disk. // Creates a directory in local disk.
System.IO.Directory.CreateDirectory(Application.persistentDataPath + "/CityData"); System.IO.Directory.CreateDirectory(Application.persistentDataPath + "/CityData");
// Write all the data to a file. // Write all the data to a file.
System.IO.File.WriteAllText(Application.persistentDataPath + this.saveFolder, stringDataAsJson); System.IO.File.WriteAllText(this.saveFolder, stringDataAsJson);
} }
// Load the data about city. // Load the data about city.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment