diff --git a/Convention/[Runtime]/Architecture.hpp b/Convention/[Runtime]/Architecture.hpp index d86b72d..e339c0e 100644 --- a/Convention/[Runtime]/Architecture.hpp +++ b/Convention/[Runtime]/Architecture.hpp @@ -381,15 +381,20 @@ namespace Convention void UpdateTimeline() { - for(auto&& [_, timeline] : TimelineQuenes) + for (bool stats = true; stats;) { - if (timeline.Quene[timeline.Context].predicate()) + stats = false; + for (auto&& [_, timeline] : TimelineQuenes) { - for(auto&& action : timeline.Quene[timeline.Context].actions) + if (timeline.Quene[timeline.Context].predicate()) { - action(); + stats = true; + for (auto&& action : timeline.Quene[timeline.Context].actions) + { + action(); + } + timeline.Context++; } - timeline.Context++; } } }