From 59d072d85d92e569941df07408f132290366c798 Mon Sep 17 00:00:00 2001 From: cadon Date: Wed, 28 Sep 2022 22:22:29 +0200 Subject: [PATCH] don't warn if asterix is used in savefilepath (#1289) --- ARKBreedingStats/settings/Settings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ARKBreedingStats/settings/Settings.cs b/ARKBreedingStats/settings/Settings.cs index 52a351df..435da2f3 100644 --- a/ARKBreedingStats/settings/Settings.cs +++ b/ARKBreedingStats/settings/Settings.cs @@ -643,7 +643,7 @@ private void btAddSavegameFileLocation_Click(object sender, EventArgs e) /// private void CheckSaveImportPath(string filePath) { - if (!filePath.EndsWith(".ark")) + if (!filePath.EndsWith(".ark") && !filePath.Contains("*")) { MessageBoxes.ShowMessageBox($"The file location must include the path and the filename of the save file. The set path\n{filePath}\ndoesn't end with \".ark\" and seems to miss the file name.", "Possibly wrong path", MessageBoxIcon.Warning); }