Allow one more exception per second in OsuGame and TournamentGame

This commit is contained in:
Salman Ahmed 2022-05-10 10:02:41 +03:00
parent bcd91ac743
commit 725f5f4dcb
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,7 @@ using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Development;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
@ -39,6 +40,8 @@ namespace osu.Game.Tournament
private Bindable<WindowMode> windowMode;
private LoadingSpinner loadingSpinner;
protected override int SoftHandledExceptions => DebugUtils.IsDebugBuild ? 0 : 1;
[BackgroundDependencyLoader]
private void load(FrameworkConfigManager frameworkConfig, GameHost host)
{

View File

@ -13,6 +13,7 @@ using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Development;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
@ -175,6 +176,8 @@ namespace osu.Game
private readonly List<OverlayContainer> visibleBlockingOverlays = new List<OverlayContainer>();
protected override int SoftHandledExceptions => DebugUtils.IsDebugBuild ? 0 : 1;
public OsuGame(string[] args = null)
{
this.args = args;