From eaf5f5cf04a61cf51d84054aee466eb15fa0b838 Mon Sep 17 00:00:00 2001 From: break27 Date: Mon, 27 Apr 2026 18:14:42 +0800 Subject: [PATCH] fix: 'actionflow' reset on --- src/common/actionflow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/actionflow.py b/src/common/actionflow.py index 1517077..024d2b4 100644 --- a/src/common/actionflow.py +++ b/src/common/actionflow.py @@ -33,7 +33,8 @@ class ActionFlow: def react(self): for index in self.indices.values(): - if self.on[index]: + if (self.on[index]): + self.on[index] = False self.actions[index].perform() def index(self, kind: type[Action]) -> int: