From 3bf31c99da68cdfe256df45b86e6fbbb918f2873 Mon Sep 17 00:00:00 2001 From: clemty Date: Sun, 6 Sep 2015 00:24:30 +0200 Subject: [PATCH] Nod05: fix unit production closes #9277 --- mods/cnc/maps/nod05/nod05.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/cnc/maps/nod05/nod05.lua b/mods/cnc/maps/nod05/nod05.lua index afb7db6e42..e00b5701ef 100644 --- a/mods/cnc/maps/nod05/nod05.lua +++ b/mods/cnc/maps/nod05/nod05.lua @@ -295,9 +295,9 @@ checkProduction = function(player) end end if #UnitsType > 0 then - if (type == 'jeep' or type == 'mtnk') and not Factory.IsDead and Factory.Owner == gdi then + if (type == 'jeep' or type == 'mtnk') and not Factory.IsDead and Factory.Owner == GDI then Factory.Build(UnitsType) - elseif (type == 'e1' or type == 'e2') and not Barracks.IsDead and Barracks.Owner == gdi then + elseif (type == 'e1' or type == 'e2') and not Barracks.IsDead and Barracks.Owner == GDI then Barracks.Build(UnitsType) end end