Skip to content

Commit 90b0136

Browse files
committed
Make scenario manager work with system-frame-router
1 parent 250436f commit 90b0136

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/simulflow/scenario_manager.clj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,9 @@
157157
:outs {:sys-out "Channel where system frames will be put (follows app convention)"}})
158158
([_] nil)
159159
([state _] state)
160-
([_ _ frame]
161-
[nil (frame/send frame)]))
160+
([_ in frame]
161+
(when (= in :scenario-in)
162+
[nil (frame/send frame)])))
162163

163164
(comment
164165
(scenario-manager

0 commit comments

Comments
 (0)