fix bug: initialization output events were not properly routed to the plant
This commit is contained in:
parent
3a409dfe1e
commit
5dbe51d871
2 changed files with 5 additions and 3 deletions
|
|
@ -394,7 +394,6 @@ export function fire(simtime: number, t: Transition, ts: Map<string, Transition[
|
|||
// transition actions
|
||||
environment = addEventParam(environment.enterScope("<transition>"), label);
|
||||
for (const action of label.actions) {
|
||||
console.log('environment after adding event param:', environment);
|
||||
({environment, history, ...rest} = execAction(action, {environment, history, ...rest}, [t.uid]));
|
||||
}
|
||||
environment = environment.dropScope();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue