mirror of
https://github.com/ppy/osu
synced 2025-02-09 06:36:56 +00:00
Schedule joinFailed
callback for added safety
This commit is contained in:
parent
da524261c0
commit
480dc57102
@ -253,7 +253,7 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
|
||||
GetContainingInputManager().TriggerFocusContention(passwordTextbox);
|
||||
}
|
||||
|
||||
private void joinFailed(string error)
|
||||
private void joinFailed(string error) => Schedule(() =>
|
||||
{
|
||||
passwordTextbox.Text = string.Empty;
|
||||
|
||||
@ -269,7 +269,7 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
|
||||
Body.Shake();
|
||||
|
||||
sampleJoinFail?.Play();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user