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:
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