Fix IOUtility creating folders for file paths

This commit is contained in:
Sinai committed 2021-10-16 18:10:23 +11:00
1 parent d530d10798
commit 957d80c7ec
5 files changed
+12 -11

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ namespace UnityExplorer.CacheObject.IValues
return;
}
var path = IOUtility.EnsureValidDirectory(SaveFilePath.Text);
var path = IOUtility.EnsureValidFilePath(SaveFilePath.Text);
if (File.Exists(path))
File.Delete(path);