aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-06-17 22:25:33 +0100
committerAlex-TIMEHACK <[email protected]>2017-06-17 22:25:33 +0100
commit2f9031e0ace7ddadec9c441551ccfecf80b6df28 (patch)
tree552cfd401bdcacd216a82c8e61864ba32dd2708a /TimeHACK.Engine
parent17d94fdc1dd6d03e8a5f732f2fd5a632075cffe1 (diff)
downloadhistacom2-2f9031e0ace7ddadec9c441551ccfecf80b6df28.tar.gz
histacom2-2f9031e0ace7ddadec9c441551ccfecf80b6df28.tar.bz2
histacom2-2f9031e0ace7ddadec9c441551ccfecf80b6df28.zip
A LOT of tweaks - more to come
Diffstat (limited to 'TimeHACK.Engine')
-rw-r--r--TimeHACK.Engine/SaveSystem.cs14
1 files changed, 4 insertions, 10 deletions
diff --git a/TimeHACK.Engine/SaveSystem.cs b/TimeHACK.Engine/SaveSystem.cs
index 56a71a4..e217bf4 100644
--- a/TimeHACK.Engine/SaveSystem.cs
+++ b/TimeHACK.Engine/SaveSystem.cs
@@ -61,7 +61,7 @@ namespace TimeHACK.Engine
{
get
{
- return Path.Combine(ProfileMyComputerDirectory, "Settings");
+ return Path.Combine(ProfileMyComputerDirectory, "Settings");
}
}
@@ -69,13 +69,7 @@ namespace TimeHACK.Engine
{
get
{
- if (CurrentSave.CurrentOS == "95")
- {
- return Path.Combine(ProfileMyComputerDirectory, "Doc");
- } else {
- return Path.Combine(ProfileSettingsDirectory, "Doc");
- }
-
+ return Path.Combine(ProfileMyComputerDirectory, "Doc");
}
}
@@ -145,8 +139,8 @@ namespace TimeHACK.Engine
SaveDirectoryInfo(ProfileFileSystemDirectory, false, "My Computer", false);
SaveDirectoryInfo(ProfileMyComputerDirectory, false, "Win95", true);
- SaveDirectoryInfo(ProfileDocumentsDirectory, false, "My Documents", true);
- SaveDirectoryInfo(ProfileSettingsDirectory, false, "Documents and Settings", true);
+ if (CurrentSave.CurrentOS == "95") SaveDirectoryInfo(ProfileDocumentsDirectory, false, "My Documents", true);
+ if (CurrentSave.CurrentOS != "95") SaveDirectoryInfo(ProfileSettingsDirectory, false, "Documents and Settings", true);
SaveDirectoryInfo(ProfileProgramsDirectory, true, "Program Files", true);
SaveDirectoryInfo(ProfileWindowsDirectory, true, "Windows", true);
}