1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:52:55 +08:00

Fix reversed if/else statement causing inproper behavior for badges

This commit is contained in:
HoutarouOreki 2018-07-23 23:24:34 +02:00
parent 054f578bc8
commit 9a84747fe6

View File

@ -105,7 +105,7 @@ namespace osu.Game.Overlays.Changelog
{
foreach (StreamBadge streamBadge in badgesContainer.Children)
{
if (selectedStreamId < 0)
if (selectedStreamId >= 0)
{
if (selectedStreamId != streamBadge.LatestBuild.UpdateStream.Id)
streamBadge.Deactivate();