Unstable 0.17.2.0

This commit is contained in:
Markus Isberg
2022-03-30 00:06:59 +09:00
parent 4206f6db42
commit 2968e23ae8
100 changed files with 654 additions and 1379 deletions
@@ -1198,9 +1198,9 @@ namespace Barotrauma
Color color = Color.Gray;
if (ic.HasRequiredItems(character, false))
{
if (ic is Repairable r)
if (ic is Repairable)
{
if (r.IsBelowRepairThreshold) { color = Color.Cyan; }
if (!IsFullCondition) { color = Color.Cyan; }
}
else
{