1
0
mirror of synced 2024-12-11 07:16:05 +01:00

Try to prevent any potential errors if config files fail to save.

This commit is contained in:
KillzXGaming 2019-12-20 17:59:57 -05:00
parent 1eab95f3c4
commit 7c396674f0
2 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,7 @@ namespace FirstPlugin
return; return;
} }
if (File.Exists(fileName))
ReadConfigFromFile(fileName); ReadConfigFromFile(fileName);
} }

View File

@ -18,6 +18,7 @@ namespace Toolbox.Library
return; return;
} }
if (File.Exists(fileName))
ReadConfigFromFile(fileName); ReadConfigFromFile(fileName);
} }