Skip to content

Commit

Permalink
fix(acela): prevent destination selector from showing when loading ne…
Browse files Browse the repository at this point in the history
…w tiles
  • Loading branch information
YoRyan committed Oct 10, 2023
1 parent c2ac2da commit bad8ff6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,9 @@ const me = new FrpEngine(() => {
});
const destinationTurnedOn$ = frp.compose(
me.createOnCvChangeStreamFor("DestOnOff"),
frp.filter(v => v === 1)
frp.filter(v => v === 1),
// Sometimes this fires for other units...
frp.filter(_ => me.eng.GetIsEngineWithKey())
);
destinationTurnedOn$(_ => {
destinationMenu.showPopup();
Expand Down

0 comments on commit bad8ff6

Please sign in to comment.