mirror of
https://github.com/osukey/osukey.git
synced 2025-06-03 20:07:18 +09: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…
x
Reference in New Issue
Block a user