diff --git a/Assets/Cryville/Common/Logger.cs b/Assets/Cryville/Common/Logger.cs index f61d421..ac68d9f 100644 --- a/Assets/Cryville/Common/Logger.cs +++ b/Assets/Cryville/Common/Logger.cs @@ -17,7 +17,7 @@ namespace Cryville.Common { public static void SetLogPath(string path) { logPath = path; var dir = new DirectoryInfo(path); - if (!dir.Exists) Directory.CreateDirectory(dir.FullName); + if (!dir.Exists) dir.Create(); } /// /// Logs to the specified logger.