Fixed the issue that No commandcenter menu was generated in case of birth of a join of a player.

This commit is contained in:
FlightControl_Master
2018-03-05 11:36:01 +01:00
parent 5e5dab99eb
commit 03c38356ce
5 changed files with 9 additions and 7 deletions

View File

@@ -344,7 +344,7 @@ do -- TASK_A2G
local DetectedItemsCount = self.TargetSetUnit:Count()
local DetectedItemsTypes = self.TargetSetUnit:GetTypeNames()
self.TaskInfo:AddTargetCount( DetectedItemsCount, 11, "O", true )
self.TaskInfo:AddTargets( string.format( "%d of %s", DetectedItemsCount, DetectedItemsTypes ), 20, "D", true )
self.TaskInfo:AddTargets( DetectedItemsCount, DetectedItemsTypes, 20, "D", true )
end
end