mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:52:55 +08:00
Prevent adding null enumerable
This commit is contained in:
parent
6182181ea1
commit
f70e45b199
@ -172,7 +172,8 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
|
||||
(actions?.Any(isValidTrackingAction) ?? false);
|
||||
|
||||
lastPressedActions.Clear();
|
||||
lastPressedActions.AddRange(actions);
|
||||
if (actions != null)
|
||||
lastPressedActions.AddRange(actions);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user