Remove tech disabling when building is locked.
This commit is contained in:
@@ -55,9 +55,6 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
{
|
{
|
||||||
if (x.Actor.Owner == self.Owner && x.Trait.Info.Produces.Contains(Info.Type))
|
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;
|
isActive = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user