Fix RCS1134
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -256,8 +256,6 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (NextActivity != null)
|
||||
foreach (var n in NextActivity.TargetLineNodes(self))
|
||||
yield return n;
|
||||
|
||||
yield break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -181,10 +181,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
}
|
||||
|
||||
if (!anyProducers)
|
||||
{
|
||||
CancelProduction(unit.Name, 1);
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -131,10 +131,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
}
|
||||
|
||||
if (!anyProducers)
|
||||
{
|
||||
CancelProduction(unit.Name, 1);
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user