diff options
| author | lempamo <[email protected]> | 2017-08-13 15:18:46 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-08-13 15:18:46 -0400 |
| commit | 38da0b8cb2153f91947f21b14c64f0281fa74056 (patch) | |
| tree | af4a11ed0771e708ff47bcb3ba87ca3ad10d9b34 /TimeHACK.Engine/SaveSystem.cs | |
| parent | ac09f99d5f31adcf1ff2670434260ef163447279 (diff) | |
| download | histacom2-38da0b8cb2153f91947f21b14c64f0281fa74056.tar.gz histacom2-38da0b8cb2153f91947f21b14c64f0281fa74056.tar.bz2 histacom2-38da0b8cb2153f91947f21b14c64f0281fa74056.zip | |
folder renaming
Diffstat (limited to 'TimeHACK.Engine/SaveSystem.cs')
| -rw-r--r-- | TimeHACK.Engine/SaveSystem.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TimeHACK.Engine/SaveSystem.cs b/TimeHACK.Engine/SaveSystem.cs index 0b915f3..9646876 100644 --- a/TimeHACK.Engine/SaveSystem.cs +++ b/TimeHACK.Engine/SaveSystem.cs @@ -270,7 +270,7 @@ namespace TimeHACK.Engine public static void SaveDirectoryInfo(string parent, string dirname, bool isProtected, string label, bool allowback) { - if (Directory.Exists(Path.Combine(parent, dirname)) && Path.Combine(parent, dirname) != ProfileFileSystemDirectory) return; + if (File.Exists(Path.Combine(parent, dirname, "_data.info")) && Path.Combine(parent, dirname) != ProfileFileSystemDirectory) return; Directory.CreateDirectory(Path.Combine(parent, dirname)); FileSystemFolderInfo info = new FileSystemFolderInfo(); |
