Reorder conditional

This commit is contained in:
Dean Herbert 2019-11-09 16:23:22 +09:00 committed by GitHub
parent 683916967c
commit 5c47641608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}