(545598d02) Change the repair tooltip color from gray to cyan even when the character doesn't have required skills.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user