Nod05: fix unit production

closes #9277
This commit is contained in:
clemty
2015-09-06 00:24:30 +02:00
parent e0e31d89b1
commit 3bf31c99da

View File

@@ -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