Skip to content

Commit

Permalink
don't ask to download images if they're already downloaded with the i…
Browse files Browse the repository at this point in the history
…nstaller
  • Loading branch information
cadaei committed Jun 1, 2020
1 parent 7e3427c commit ef2b304
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ARKBreedingStats/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ private void Form1_Load(object sender, EventArgs e)
if (!Properties.Settings.Default.AskedToDownloadImageFiles)
{
Properties.Settings.Default.AskedToDownloadImageFiles = true;
if (MessageBox.Show("Download species images to display the creature colors?\n\nThe file to be downloaded has a size of ~13 MB.",
if (!File.Exists(FileService.GetPath("img", "Giant Queen Bee.png"))
&& MessageBox.Show("Download species images to display the creature colors?\n\nThe file to be downloaded has a size of ~13 MB.",
"Download species images?", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
DownloadSpeciesImagesAsync();
}
Expand Down

0 comments on commit ef2b304

Please sign in to comment.