mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Fix HasCommands
property not set at all
This commit is contained in:
parent
9b77d8c972
commit
6c257e5159
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user