..
This commit is contained in:
@@ -267,9 +267,11 @@ namespace Project
|
||||
if (mapPath.Exists == false) mapPath.Create();
|
||||
|
||||
//맵파일로딩
|
||||
if (PUB.setting.LastMapFile.isEmpty()) PUB.setting.LastMapFile = System.IO.Path.Combine(mapPath.FullName, "default.json");
|
||||
System.IO.FileInfo filePath = new System.IO.FileInfo(PUB.setting.LastMapFile);
|
||||
if (filePath.Exists == false) filePath = new System.IO.FileInfo(System.IO.Path.Combine(mapPath.FullName, "default.json"));
|
||||
var basefile = System.IO.Path.Combine(mapPath.FullName, "default.json");
|
||||
if (System.IO.File.Exists(basefile) == false)
|
||||
if (PUB.setting.LastMapFile.isEmpty() == false) basefile = PUB.setting.LastMapFile;
|
||||
|
||||
System.IO.FileInfo filePath = new System.IO.FileInfo(basefile);
|
||||
if (filePath.Exists == false) //그래도없다면 맵폴더에서 파일을 찾아본다.
|
||||
{
|
||||
var files = mapPath.GetFiles("*.json");
|
||||
|
||||
Reference in New Issue
Block a user