Remove tech disabling when building is locked.

This commit is contained in:
Paul Chote
2016-09-03 09:53:32 +01:00
parent 013b717a84
commit 21f9a0ec6c

View File

@@ -55,9 +55,6 @@ namespace OpenRA.Mods.Common.Traits
{
if (x.Actor.Owner == self.Owner && x.Trait.Info.Produces.Contains(Info.Type))
{
var b = x.Actor.TraitOrDefault<Building>();
if (b != null && b.Locked)
continue;
isActive = true;
break;
}