Use readonly where possible in AttackMoveActivity

This commit is contained in:
abcdefg30
2020-08-20 18:27:37 +02:00
committed by reaperrr
parent 4669d6b378
commit e80ebfae35

View File

@@ -21,8 +21,9 @@ namespace OpenRA.Mods.Common.Activities
{
readonly Func<Activity> getInner;
readonly bool isAssaultMove;
AutoTarget autoTarget;
AttackMove attackMove;
readonly AutoTarget autoTarget;
readonly AttackMove attackMove;
int token = Actor.InvalidConditionToken;
public AttackMoveActivity(Actor self, Func<Activity> getInner, bool assaultMoving = false)