mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21: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);
|
GetContainingInputManager().TriggerFocusContention(passwordTextbox);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void joinFailed(string error)
|
private void joinFailed(string error) => Schedule(() =>
|
||||||
{
|
{
|
||||||
passwordTextbox.Text = string.Empty;
|
passwordTextbox.Text = string.Empty;
|
||||||
|
|
||||||
@ -269,7 +269,7 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
|
|||||||
Body.Shake();
|
Body.Shake();
|
||||||
|
|
||||||
sampleJoinFail?.Play();
|
sampleJoinFail?.Play();
|
||||||
}
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user