Fix #1187; aircraft rearm properly now
This commit is contained in:
@@ -76,7 +76,7 @@ namespace OpenRA.Mods.RA.Air
|
|||||||
self.CancelActivity();
|
self.CancelActivity();
|
||||||
self.SetTargetLine(Target.FromActor(airfield), Color.Green);
|
self.SetTargetLine(Target.FromActor(airfield), Color.Green);
|
||||||
self.QueueActivity(new ReturnToBase(self, airfield));
|
self.QueueActivity(new ReturnToBase(self, airfield));
|
||||||
QueueResupplyActivities(self);
|
QueueResupplyActivities(airfield);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ namespace OpenRA.Mods.RA.Air
|
|||||||
if (airfield != null)
|
if (airfield != null)
|
||||||
{
|
{
|
||||||
self.QueueActivity(new ReturnToBase(self, airfield));
|
self.QueueActivity(new ReturnToBase(self, airfield));
|
||||||
self.Trait<Aircraft>().QueueResupplyActivities(self);
|
self.Trait<Aircraft>().QueueResupplyActivities(airfield);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user