BS 0.1.0 Architecture.UpdateTimeline无法一次更新彻底的错误
This commit is contained in:
@@ -381,10 +381,14 @@ namespace Convention
|
||||
|
||||
void UpdateTimeline()
|
||||
{
|
||||
for (bool stats = true; stats;)
|
||||
{
|
||||
stats = false;
|
||||
for (auto&& [_, timeline] : TimelineQuenes)
|
||||
{
|
||||
if (timeline.Quene[timeline.Context].predicate())
|
||||
{
|
||||
stats = true;
|
||||
for (auto&& action : timeline.Quene[timeline.Context].actions)
|
||||
{
|
||||
action();
|
||||
@@ -393,6 +397,7 @@ namespace Convention
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ResetTimelineContext(int timelineId)
|
||||
{
|
||||
|
Reference in New Issue
Block a user