Skip to content

Commit

Permalink
Weird network crash fix in MSIX deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakepell committed Aug 17, 2022
1 parent bbab9f9 commit c2ef38e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Avalon.Client/HashCommands/Beep.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ public override void Execute()
return;
}

App.Beep.Play();
App.Beep?.Play();

return;
default:
SystemSounds.Beep.Play();
SystemSounds.Beep?.Play();
return;
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/Avalon.Client/MainWindow.Network.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void HandleLineReceived(object sender, string e)
// One beep per line max, everything else is ignored.
if (App.Settings.ProfileSettings.AnsiBeep && e.Contains('\a'))
{
App.Beep.Play();
App.Beep?.Play();
}

try
Expand Down

0 comments on commit c2ef38e

Please sign in to comment.