1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:18:22 +08:00

Remove redundant length check

This commit is contained in:
Dean Herbert 2019-09-18 17:09:43 +09:00 committed by GitHub
parent e17cd9e964
commit 61b396f235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,8 +21,7 @@ namespace osu.Game.Rulesets.Mania.Replays
public ManiaReplayFrame(double time, params ManiaAction[] actions)
: base(time)
{
if (actions.Length > 0)
Actions.AddRange(actions);
Actions.AddRange(actions);
}
public void ConvertFrom(LegacyReplayFrame legacyFrame, IBeatmap beatmap, ReplayFrame lastFrame = null)