Fixed wrong action message color

This commit is contained in:
MrTheMake 2017-09-22 14:33:20 +02:00
parent 3e8941f8e1
commit dc5c046d4b

View File

@ -195,8 +195,8 @@ namespace osu.Game.Overlays.Chat
}
}
};
if (message.IsAction)
contentFlow.Colour = senderHasBackground ? OsuColour.FromHex(message.Sender.Colour) : username_colours[message.Sender.Id % username_colours.Length];
if (message.IsAction && senderHasBackground)
contentFlow.Colour = OsuColour.FromHex(message.Sender.Colour);
updateMessageContent();
FinishTransforms(true);