Fix CA1822
This commit is contained in:
committed by
Pavel Penev
parent
e4cac1fffc
commit
277699cbd5
@@ -444,7 +444,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
return chosenTarget;
|
||||
}
|
||||
|
||||
bool PreventsAutoTarget(Actor attacker, Actor target)
|
||||
static bool PreventsAutoTarget(Actor attacker, Actor target)
|
||||
{
|
||||
foreach (var deat in target.TraitsImplementing<IDisableEnemyAutoTarget>())
|
||||
if (deat.DisableEnemyAutoTarget(target, attacker))
|
||||
|
||||
Reference in New Issue
Block a user