From ff039f1918a15fa0dbd6fcf97bdd5a588e40741a Mon Sep 17 00:00:00 2001 From: ninemine <1371605831@qq.com> Date: Wed, 16 Jul 2025 14:57:44 +0800 Subject: [PATCH] =?UTF-8?q?BS=200.1.0=20Architecture.UpdateTimeline?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E4=B8=80=E6=AC=A1=E6=9B=B4=E6=96=B0=E5=BD=BB?= =?UTF-8?q?=E5=BA=95=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Convention/[Runtime]/Architecture.hpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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++; } } }