1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

remove notification on trying to multi when logged out

fixes #17877
This commit is contained in:
chickensalt 2022-04-19 18:44:20 +10:00
parent 864d13a083
commit 2a3a0c1cd3

View File

@ -161,17 +161,7 @@ namespace osu.Game.Screens.Menu
{ {
if (api.State.Value != APIState.Online) if (api.State.Value != APIState.Online)
{ {
notifications?.Post(new SimpleNotification loginOverlay?.Show();
{
Text = "You gotta be online to multi 'yo!",
Icon = FontAwesome.Solid.Globe,
Activated = () =>
{
loginOverlay?.Show();
return true;
}
});
return; return;
} }