From 59fba47f639946362d1c3017394f3d80d89169d6 Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Mon, 10 Jul 2017 00:37:17 +0300 Subject: [PATCH] When the player highlights a wire in a connection panel, the physical wire and the items connected to it are highlighted. Fixes issue #16. --- Barotrauma/BarotraumaShared/Source/Items/Item.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Barotrauma/BarotraumaShared/Source/Items/Item.cs b/Barotrauma/BarotraumaShared/Source/Items/Item.cs index 8708fbf34..61443cf21 100644 --- a/Barotrauma/BarotraumaShared/Source/Items/Item.cs +++ b/Barotrauma/BarotraumaShared/Source/Items/Item.cs @@ -808,8 +808,6 @@ namespace Barotrauma inWater = IsInWater(); if (inWater) ApplyStatusEffects(ActionType.InWater, deltaTime); - - isHighlighted = false; if (body == null || !body.Enabled) return;