Fix RCS1134

This commit is contained in:
RoosterDragon
2023-03-18 12:59:14 +00:00
committed by Gustas
parent 11b59b0a65
commit fcfee31972
16 changed files with 58 additions and 85 deletions

View File

@@ -313,7 +313,7 @@ namespace OpenRA.Mods.Common.Traits
Uncloak();
}
void INotifySupportPower.Charged(Actor self) { return; }
void INotifySupportPower.Charged(Actor self) { }
void INotifySupportPower.Activated(Actor self)
{

View File

@@ -256,8 +256,6 @@ namespace OpenRA.Mods.Common.Traits
if (NextActivity != null)
foreach (var n in NextActivity.TargetLineNodes(self))
yield return n;
yield break;
}
}
}

View File

@@ -181,10 +181,7 @@ namespace OpenRA.Mods.Common.Traits
}
if (!anyProducers)
{
CancelProduction(unit.Name, 1);
return false;
}
return false;
}

View File

@@ -131,10 +131,7 @@ namespace OpenRA.Mods.Common.Traits
}
if (!anyProducers)
{
CancelProduction(unit.Name, 1);
return false;
}
return false;
}