Commit 5af62fe
fix OrTrigger fire endless (#1438)
* fix ortrigger fire endless
setting "last_call_time" in _fire() change it for the OrTrigger but not for the relevant Triggers.
the function set_last_call_time() set it for normal Trigger and in case of OrTrigger to the "current_trigger".
The current_trigger is the trigger for which triggers next.
* ci: correct from checks.
* Update return statement
Co-authored-by: LordOfPolls <[email protected]>
Signed-off-by: Donbur4156 <[email protected]>
---------
Signed-off-by: Donbur4156 <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: LordOfPolls <[email protected]>1 parent 86e9d2b commit 5af62fe
2 files changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
117 | 124 | | |
118 | 125 | | |
119 | 126 | | |
| |||
123 | 130 | | |
124 | 131 | | |
125 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
126 | 137 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 138 | + | |
0 commit comments