Add AttackSource enum.

This commit is contained in:
Paul Chote
2020-01-10 20:46:03 +00:00
committed by teinarss
parent 6f52365f9d
commit 51870a471a
15 changed files with 20 additions and 18 deletions

View File

@@ -98,7 +98,7 @@ namespace OpenRA.Mods.Common.Scripting
Log.Write("lua", "{1} is not revealed for player {0}!", Self.Owner, targetActor);
foreach (var attack in attackBases)
attack.AttackTarget(target, true, allowMove, forceAttack);
attack.AttackTarget(target, AttackSource.Default, true, allowMove, forceAttack);
}
[Desc("Checks if the targeted actor is a valid target for this actor.")]