1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 07:27:25 +08:00

Invert if statement

This commit is contained in:
Lucas A 2019-06-01 08:46:38 +02:00
parent 0625f51e65
commit 58564579e4

View File

@ -78,10 +78,11 @@ namespace osu.Game.Overlays.Settings
protected override bool OnClick(ClickEvent e)
{
if (!game.IsDeployedBuild) return base.OnClick(e);
changelog?.ShowBuild("lazer", game.Version);
return base.OnClick(e);
if (game.IsDeployedBuild)
{
changelog?.ShowBuild("lazer", game.Version);
}
return true;
}
}
}