fix: allow actions in 'stage'

This commit is contained in:
2026-06-04 18:17:16 +08:00
parent b5122948da
commit 101058b20c
+2 -2
View File
@@ -32,8 +32,8 @@ class ActionFlow:
def stage(self, *actions: type[Action]): def stage(self, *actions: type[Action]):
for Actor in actions: for Actor in actions:
try: self.queue(Actor) self.allow(Actor)
except: pass self.queue(Actor)
self.react() self.react()
def react(self): def react(self):