Allow context menu repairing of broken items

This commit is contained in:
Tyfon
2024-06-10 13:31:58 -07:00
parent 62bcc6d66b
commit b6edf5b3d7

View File

@@ -119,10 +119,12 @@ namespace UIFixes
return new FailedResult(ERepairStatusWarning.NothingToRepair.ToString()); return new FailedResult(ERepairStatusWarning.NothingToRepair.ToString());
} }
if (repairStrategy.BrokenItemError()) // BrokenItemError is not actually an error, they just implemented it that way - it shows a bunch of red text but it doesn't prevent repair
// Leaving this here to remember
/*if (repairStrategy.BrokenItemError())
{ {
return new FailedResult(ERepairStatusWarning.BrokenItem.ToString()); return new FailedResult(ERepairStatusWarning.BrokenItem.ToString());
} }*/
if (repairStrategy.IsNoCorrespondingArea()) if (repairStrategy.IsNoCorrespondingArea())
{ {