(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;
|
if (ic is Holdable holdable && !holdable.CanBeDeattached()) continue;
|
||||||
|
|
||||||
Color color = Color.Gray;
|
Color color = Color.Gray;
|
||||||
bool hasRequiredSkillsAndItems = ic.HasRequiredSkills(character) && ic.HasRequiredItems(character, false);
|
if (ic.HasRequiredItems(character, false))
|
||||||
if (hasRequiredSkillsAndItems)
|
|
||||||
{
|
{
|
||||||
if (ic is Repairable repairable)
|
if (ic is Repairable repairable)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user