Skip to content

Commit

Permalink
Warn the user if the base beatmap field is left empty in Hitsound Stu…
Browse files Browse the repository at this point in the history
…dio.
  • Loading branch information
OliBomby committed Jul 11, 2023
1 parent 65604a3 commit 71b0a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mapping_Tools/Views/HitsoundStudio/HitsoundStudioView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ private async void Start_Click(object sender, RoutedEventArgs e) {

if (!(bool) result) return;

if (settings.BaseBeatmap == null || settings.DefaultSample == null)
if (string.IsNullOrWhiteSpace(settings.BaseBeatmap))
{
MessageBox.Show("Please select a base beatmap and default hitsound first.");
MessageBox.Show("Please select a base beatmap first.");
return;
}

Expand Down

0 comments on commit 71b0a77

Please sign in to comment.