diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-05-20 13:35:34 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-05-20 13:35:34 +0100 |
| commit | aaf2960c693b8a555cc0e228132e11227aa65281 (patch) | |
| tree | 07742b4afbc28b453960c629ea15c8df054aaf86 /TimeHACK.Main/SaveDialogs | |
| parent | 9328abe3848262d9d52e847f0029ed1144399f7b (diff) | |
| download | histacom2-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.cs | 2 |
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)) { |
