(545598d02) Change the repair tooltip color from gray to cyan even when the character doesn't have required skills.

This commit is contained in:
Joonas Rikkonen
2019-06-09 17:37:43 +03:00
parent 9341ac772d
commit 6c90d14462

View File

@@ -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)
{