1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 07:23:14 +08:00

Merge conditionals for readability

This commit is contained in:
Dean Herbert 2021-04-15 14:19:59 +09:00
parent 5eaf3ea576
commit ba325de595

View File

@ -107,7 +107,7 @@ namespace osu.Game.Rulesets.UI
protected override List<IInput> GetPendingInputs()
{
if (replayInputHandler != null && !replayInputHandler.IsActive)
if (replayInputHandler?.IsActive == false)
return emptyInputList;
return base.GetPendingInputs();