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

Prevent adding null enumerable

This commit is contained in:
smoogipoo 2021-04-26 15:35:08 +09:00
parent 6182181ea1
commit f70e45b199

View File

@ -172,6 +172,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
(actions?.Any(isValidTrackingAction) ?? false);
lastPressedActions.Clear();
if (actions != null)
lastPressedActions.AddRange(actions);
}