mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 15:52:21 +00:00
Keep a newer camera view when a failed Space Missions entry rolls back
This commit is contained in:
1 parent
c64ed40c62
commit
655d93cc92
5 files changed
+154
-12
No files matched your search
Vendored
+2
@@ -12,6 +12,8 @@ export function createControls({ state: layerState, services, parts, source }) {
|
||||
|
||||
/** Release only Space Mission camera ownership, preserving layer and selection state. */
|
||||
releaseCameraOwnership() {
|
||||
// A failed entry no longer gives back the view it replaced.
|
||||
layerState._entryCameraView = null;
|
||||
parts.panel.clearMissionRosterHover();
|
||||
parts.replay.stopMissionReplay();
|
||||
parts.selection.stopMissionZoomAnchor();
|
||||
|
||||
Reference in new issue
Block a user