Use TriggerClick() instead of calling BackButton action for pause gameplay

This commit is contained in:
Joseph Madamba 2023-01-16 23:36:28 -08:00
parent 08c570849f
commit 8f7cb18217

View File

@ -64,7 +64,7 @@ namespace osu.Game.Screens.Play
switch (e.Action)
{
case GlobalAction.PauseGameplay:
BackAction.Invoke();
InternalButtons.Children.First().TriggerClick();
return true;
}