Skip to content

Commit

Permalink
Added warning when no CR patches selected during snapshotting
Browse files Browse the repository at this point in the history
  • Loading branch information
Piranha91 committed Jan 8, 2024
1 parent 259b75b commit 16f1927
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions HappyCRappy/Back End/SnapShotter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ public void SaveSnapshots(ModKey[] modKeys, SerializationType serializationType,
throw new Exception("Link Cache is null");
}

if (!modKeys.Any())
{
MessageBox.Show("No Conflict Resolution Patches were selected in the Settings menu");
return;
}

string extension = "";
switch (serializationType)
{
Expand Down

0 comments on commit 16f1927

Please sign in to comment.