Make BaseProvider PausableConditional
This commit is contained in:
committed by
reaperrr
parent
12054506e1
commit
c976bb1d7b
@@ -159,7 +159,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
// BuildingInfo.IsCloseEnoughToBase has already verified that this is a valid build location
|
||||
var provider = buildingInfo.FindBaseProvider(w, self.Owner, order.TargetLocation);
|
||||
if (provider != null)
|
||||
provider.Trait<BaseProvider>().BeginCooldown();
|
||||
provider.BeginCooldown();
|
||||
}
|
||||
|
||||
if (GetNumBuildables(self.Owner) > prevItems)
|
||||
|
||||
Reference in New Issue
Block a user