BS 0.1.0 修复Architecture.TimelineUpdate无法立即更新所有能够更新的错误
This commit is contained in:
@@ -388,16 +388,21 @@ namespace Convention
|
||||
|
||||
public static void UpdateTimeline()
|
||||
{
|
||||
foreach (var pair in TimelineQuenes)
|
||||
for (bool stats = true; stats;)
|
||||
{
|
||||
var timeline = pair.Value;
|
||||
if(timeline.Quene[timeline.Context].predicate())
|
||||
stats = false;
|
||||
foreach (var pair in TimelineQuenes)
|
||||
{
|
||||
foreach (var action in timeline.Quene[timeline.Context].actions)
|
||||
var timeline = pair.Value;
|
||||
if (timeline.Quene[timeline.Context].predicate())
|
||||
{
|
||||
action();
|
||||
stats = true;
|
||||
foreach (var action in timeline.Quene[timeline.Context].actions)
|
||||
{
|
||||
action();
|
||||
}
|
||||
timeline.Context++;
|
||||
}
|
||||
timeline.Context++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user