From 6c90d14462be7cdc178c6ec26487d6efa55dcabf Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Sun, 9 Jun 2019 17:37:43 +0300 Subject: [PATCH] (545598d02) Change the repair tooltip color from gray to cyan even when the character doesn't have required skills. --- Barotrauma/BarotraumaClient/Source/Items/Item.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Barotrauma/BarotraumaClient/Source/Items/Item.cs b/Barotrauma/BarotraumaClient/Source/Items/Item.cs index 83476d546..69dfbf125 100644 --- a/Barotrauma/BarotraumaClient/Source/Items/Item.cs +++ b/Barotrauma/BarotraumaClient/Source/Items/Item.cs @@ -790,8 +790,7 @@ namespace Barotrauma if (ic is Holdable holdable && !holdable.CanBeDeattached()) continue; Color color = Color.Gray; - bool hasRequiredSkillsAndItems = ic.HasRequiredSkills(character) && ic.HasRequiredItems(character, false); - if (hasRequiredSkillsAndItems) + if (ic.HasRequiredItems(character, false)) { if (ic is Repairable repairable) {