mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:02:55 +08:00
Merge branch 'master' into skin-editor-sidebars
This commit is contained in:
commit
7f65f6adcc
@ -30,7 +30,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
private int messageIdCounter;
|
||||
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
public void Setup() => Schedule(() =>
|
||||
{
|
||||
if (API is DummyAPIAccess daa)
|
||||
{
|
||||
@ -50,7 +50,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
|
||||
testContainer.ChatOverlay.Show();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
private bool dummyAPIHandleRequest(APIRequest request)
|
||||
{
|
||||
|
@ -99,7 +99,7 @@ namespace osu.Game.Overlays.Chat
|
||||
if (highlightedMessage.Value == null)
|
||||
return;
|
||||
|
||||
var chatLine = chatLines.SingleOrDefault(c => c.Message.Equals(highlightedMessage.Value));
|
||||
var chatLine = chatLines.FirstOrDefault(c => c.Message.Equals(highlightedMessage.Value));
|
||||
if (chatLine == null)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user