mirror of https://github.com/ppy/osu
Reorder conditional
This commit is contained in:
parent
683916967c
commit
5c47641608
|
@ -59,7 +59,7 @@ private void load(OsuColour colours)
|
|||
AccentColour = borderContainer.BorderColour = sideNumber.Colour = colours.GreenLight;
|
||||
hoverLayer.Colour = Color4.Black.Opacity(0.5f);
|
||||
|
||||
if (api.LocalUser.Value.Id != comment.UserId && api.IsLoggedIn)
|
||||
if (api.IsLoggedIn && api.LocalUser.Value.Id != comment.UserId)
|
||||
Action = onAction;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue