fix: 'actionflow' reset on
This commit is contained in:
@@ -33,7 +33,8 @@ class ActionFlow:
|
|||||||
|
|
||||||
def react(self):
|
def react(self):
|
||||||
for index in self.indices.values():
|
for index in self.indices.values():
|
||||||
if self.on[index]:
|
if (self.on[index]):
|
||||||
|
self.on[index] = False
|
||||||
self.actions[index].perform()
|
self.actions[index].perform()
|
||||||
|
|
||||||
def index(self, kind: type[Action]) -> int:
|
def index(self, kind: type[Action]) -> int:
|
||||||
|
|||||||
Reference in New Issue
Block a user