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:
parent
5eaf3ea576
commit
ba325de595
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user