Correct the ordering on DamageState
This commit is contained in:
@@ -35,7 +35,7 @@ namespace OpenRA.Mods.RA.Orders
|
||||
yield break;
|
||||
|
||||
if (underCursor.Info.Traits.Contains<RepairableBuildingInfo>()
|
||||
&& underCursor.GetDamageState() < DamageState.Undamaged)
|
||||
&& underCursor.GetDamageState() > DamageState.Undamaged)
|
||||
yield return new Order("Repair", underCursor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user