aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-08-13 15:18:46 -0400
committerlempamo <[email protected]>2017-08-13 15:18:46 -0400
commit38da0b8cb2153f91947f21b14c64f0281fa74056 (patch)
treeaf4a11ed0771e708ff47bcb3ba87ca3ad10d9b34 /TimeHACK.Engine
parentac09f99d5f31adcf1ff2670434260ef163447279 (diff)
downloadhistacom2-38da0b8cb2153f91947f21b14c64f0281fa74056.tar.gz
histacom2-38da0b8cb2153f91947f21b14c64f0281fa74056.tar.bz2
histacom2-38da0b8cb2153f91947f21b14c64f0281fa74056.zip
folder renaming
Diffstat (limited to 'TimeHACK.Engine')
-rw-r--r--TimeHACK.Engine/SaveSystem.cs2
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();