Fixes force fire not working on pillboxes
This commit is contained in:
@@ -42,7 +42,7 @@ namespace OpenRA.Mods.RA
|
|||||||
{
|
{
|
||||||
readonly AutoTargetInfo info;
|
readonly AutoTargetInfo info;
|
||||||
readonly AttackBase attack;
|
readonly AttackBase attack;
|
||||||
readonly AttackTurreted at;
|
readonly AttackFollow at;
|
||||||
[Sync] int nextScanTime = 0;
|
[Sync] int nextScanTime = 0;
|
||||||
|
|
||||||
public UnitStance Stance;
|
public UnitStance Stance;
|
||||||
@@ -58,7 +58,7 @@ namespace OpenRA.Mods.RA
|
|||||||
attack = self.Trait<AttackBase>();
|
attack = self.Trait<AttackBase>();
|
||||||
Stance = info.InitialStance;
|
Stance = info.InitialStance;
|
||||||
PredictedStance = Stance;
|
PredictedStance = Stance;
|
||||||
at = self.TraitOrDefault<AttackTurreted>();
|
at = self.TraitOrDefault<AttackFollow>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ResolveOrder(Actor self, Order order)
|
public void ResolveOrder(Actor self, Order order)
|
||||||
|
|||||||
Reference in New Issue
Block a user