Skip to content

Commit 0c584c6

Browse files
authored
fix copilot retraction (#619)
1 parent 73948cd commit 0c584c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Assets/Scripts/Pinpoint/UI/EphysCopilot/DrivePanelHandler.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,9 @@ public void Exit()
551551
// Replace drive buttons with stop
552552
_exitButton.SetActive(false);
553553
_stopButton.SetActive(true);
554+
555+
// Reset dura offset
556+
ProbeManager.ManipulatorBehaviorController.BrainSurfaceOffset = 0;
554557

555558
// Drive to outside position
556559
if (position.y < _outsidePosition.y)

0 commit comments

Comments
 (0)