aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/SaveDialogs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-05-20 13:35:34 +0100
committerAlex-TIMEHACK <[email protected]>2017-05-20 13:35:34 +0100
commitaaf2960c693b8a555cc0e228132e11227aa65281 (patch)
tree07742b4afbc28b453960c629ea15c8df054aaf86 /TimeHACK.Main/SaveDialogs
parent9328abe3848262d9d52e847f0029ed1144399f7b (diff)
downloadhistacom2-aaf2960c693b8a555cc0e228132e11227aa65281.tar.gz
histacom2-aaf2960c693b8a555cc0e228132e11227aa65281.tar.bz2
histacom2-aaf2960c693b8a555cc0e228132e11227aa65281.zip
Make a minor adjustment to my SaveSystem!
Diffstat (limited to 'TimeHACK.Main/SaveDialogs')
-rw-r--r--TimeHACK.Main/SaveDialogs/NewGameDialog.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/TimeHACK.Main/SaveDialogs/NewGameDialog.cs b/TimeHACK.Main/SaveDialogs/NewGameDialog.cs
index 227edfd..20895cb 100644
--- a/TimeHACK.Main/SaveDialogs/NewGameDialog.cs
+++ b/TimeHACK.Main/SaveDialogs/NewGameDialog.cs
@@ -47,12 +47,14 @@ namespace TimeHACK
{
ProfileName = txtProfName.Text;
if (DevMode == true)
+ {
if (Directory.Exists(ProfileDirectory))
{
Directory.Delete(ProfileDirectory, true);
Successful = true;
this.Close();
}
+ }
if (!Directory.Exists(ProfileDirectory))
{