From 6922ff3bf977edb1443e2f53db826ba79d042218 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 8 Oct 2011 22:17:15 +1300 Subject: [PATCH] have ReturnOnIdle use QueueResupplyActivities so it works for airfields that can both rearm and repair --- OpenRA.Mods.RA/Air/ReturnOnIdle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.RA/Air/ReturnOnIdle.cs b/OpenRA.Mods.RA/Air/ReturnOnIdle.cs index d5cdfa0a02..75a953738d 100755 --- a/OpenRA.Mods.RA/Air/ReturnOnIdle.cs +++ b/OpenRA.Mods.RA/Air/ReturnOnIdle.cs @@ -30,7 +30,7 @@ namespace OpenRA.Mods.RA.Air if (airfield != null) { self.QueueActivity(new ReturnToBase(self, airfield)); - self.QueueActivity(new Rearm(self)); + self.Trait().QueueResupplyActivities(self); } else {