diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-06-17 22:25:33 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-06-17 22:25:33 +0100 |
| commit | 2f9031e0ace7ddadec9c441551ccfecf80b6df28 (patch) | |
| tree | 552cfd401bdcacd216a82c8e61864ba32dd2708a /TimeHACK.Engine/SaveSystem.cs | |
| parent | 17d94fdc1dd6d03e8a5f732f2fd5a632075cffe1 (diff) | |
| download | histacom2-2f9031e0ace7ddadec9c441551ccfecf80b6df28.tar.gz histacom2-2f9031e0ace7ddadec9c441551ccfecf80b6df28.tar.bz2 histacom2-2f9031e0ace7ddadec9c441551ccfecf80b6df28.zip | |
A LOT of tweaks - more to come
Diffstat (limited to 'TimeHACK.Engine/SaveSystem.cs')
| -rw-r--r-- | TimeHACK.Engine/SaveSystem.cs | 14 |
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); } |
