Add parens to declare operator precedence

This commit is contained in:
smoogipoo 2021-06-08 18:39:52 +09:00
parent ab9290772b
commit 0b9916b266

View File

@ -654,7 +654,7 @@ namespace osu.Game
if (!(ScreenStack.CurrentScreen is IOsuScreen currentScreen))
return;
if (!((Drawable)currentScreen).IsLoaded || currentScreen.AllowBackButton && !currentScreen.OnBackButton())
if (!((Drawable)currentScreen).IsLoaded || (currentScreen.AllowBackButton && !currentScreen.OnBackButton()))
ScreenStack.Exit();
}
},