mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 17:52:21 +00:00
CONTACTS: a selected vessel's subject is labelled as its selection is; test doubles without the new lookup still activate
This commit is contained in:
1 parent
4b0958b9e8
commit
1fdf52198d
2 files changed
+2
-2
No files matched your search
@@ -29,7 +29,7 @@ export function createDependencies({
|
||||
* @returns {boolean} Whether a vessel became the subject.
|
||||
*/
|
||||
function adoptSelectedVessel() {
|
||||
const vessel = parts.subject.currentSelectedVesselSubject();
|
||||
const vessel = parts.subject.currentSelectedVesselSubject?.();
|
||||
if (!vessel) return false;
|
||||
layerState.autoFocusRetryPending = false;
|
||||
parts.subject.selectSubject(vessel);
|
||||
|
||||
Reference in new issue
Block a user