Fixed captured buildings producing bot controled units

This commit is contained in:
abcdefg30
2015-05-25 01:01:27 +02:00
parent adf1bf30b6
commit dcffbc3f11
4 changed files with 15 additions and 15 deletions

View File

@@ -101,7 +101,7 @@ Atk5TriggerFunction = function()
end
StartProduction = function(type)
if Hand1.IsInWorld then
if Hand1.IsInWorld and Hand1.Owner == nod then
Hand1.Build(type)
Trigger.AfterDelay(DateTime.Seconds(30), function() StartProduction(type) end)
end