diff options
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)) { |
