From 21f9a0ec6cd143f4437c5486f6c819d07964bee7 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 3 Sep 2016 09:53:32 +0100 Subject: [PATCH] Remove tech disabling when building is locked. --- OpenRA.Mods.Common/Traits/Player/ClassicProductionQueue.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Player/ClassicProductionQueue.cs b/OpenRA.Mods.Common/Traits/Player/ClassicProductionQueue.cs index c0ad9f5904..5cb752e90a 100644 --- a/OpenRA.Mods.Common/Traits/Player/ClassicProductionQueue.cs +++ b/OpenRA.Mods.Common/Traits/Player/ClassicProductionQueue.cs @@ -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(); - if (b != null && b.Locked) - continue; isActive = true; break; }