From f0841c1c3938d0624ca29d9474619bfd82a06d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Chirico=20Indreb=C3=B8?= Date: Thu, 20 Jun 2024 14:27:02 +0200 Subject: [PATCH] Remove delocalisation on timeout --- backend/api/EventHandlers/IsarConnectionEventHandler.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/api/EventHandlers/IsarConnectionEventHandler.cs b/backend/api/EventHandlers/IsarConnectionEventHandler.cs index 9c49c48b7..0d72cffc2 100644 --- a/backend/api/EventHandlers/IsarConnectionEventHandler.cs +++ b/backend/api/EventHandlers/IsarConnectionEventHandler.cs @@ -150,7 +150,6 @@ private async void OnTimeoutEvent(IsarRobotHeartbeatMessage robotHeartbeatMessag { await RobotService.UpdateRobotIsarConnected(robot.Id, false); await RobotService.UpdateCurrentMissionId(robot.Id, null); - await RobotService.UpdateCurrentArea(robot.Id, null); } catch (RobotNotFoundException) { return; } }