refactor(cockpit): lastAircraftInfo is lastSubjectInfo

It holds the ridden vessel on a bridge, and the radar range button reads a
vessel from it.
This commit is contained in:
Sameh Khamis committed 2026-11-08 14:09:17 -08:00
1 parent 620a18608e
commit af21219911
3 files changed
+10 -9

No files matched your search

+2 -2
View File
@@ -85,11 +85,11 @@ export function relocalizeBrief() {
Object.assign(this.brief, cycleWords(this.briefAutoRotateEnabled));
this.showBriefPage(this.briefPageIndex);
if (this.regionalBrief)
this.renderRegionalBrief(this.regionalBrief, this.lastAircraftInfo);
this.renderRegionalBrief(this.regionalBrief, this.lastSubjectInfo);
else if (this.brief.news.state)
this.renderRegionalBriefStatus(
this.brief.news.state,
this.lastAircraftInfo,
this.lastSubjectInfo,
);
}