This commit is contained in:
ChiKyun Kim
2025-12-23 17:25:47 +09:00
parent b3f661969a
commit 649d87cae3
16 changed files with 8484 additions and 746 deletions

View File

@@ -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");