fix: 'actionflow' reset on

This commit is contained in:
2026-04-27 18:14:42 +08:00
parent eb9a8623ed
commit eaf5f5cf04

View File

@@ -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: