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

Fix HasCommands property not set at all

This commit is contained in:
Salman Ahmed 2024-03-08 01:59:42 +03:00
parent 9b77d8c972
commit 6c257e5159

View File

@ -104,6 +104,7 @@ namespace osu.Game.Storyboards.Commands
protected virtual void AddCommand<T>(ICollection<StoryboardCommand<T>> list, StoryboardCommand<T> command) protected virtual void AddCommand<T>(ICollection<StoryboardCommand<T>> list, StoryboardCommand<T> command)
{ {
list.Add(command); list.Add(command);
HasCommands = true;
if (command.StartTime < StartTime) if (command.StartTime < StartTime)
StartTime = command.StartTime; StartTime = command.StartTime;