Use global difficulty.

This commit is contained in:
Matthias Mailänder
2021-10-10 22:06:03 +02:00
committed by abcdefg30
parent 58b105f0d4
commit d42edfc0b9
70 changed files with 241 additions and 279 deletions

View File

@@ -246,9 +246,8 @@ ActivateAI = function()
InitAIUnits()
ProtectHarvester(Harvester)
local difficulty = Map.LobbyOption("difficulty")
AttackDelay = AttackDelays[difficulty]
AttackGroupSize = AttackGroupSizes[difficulty]
AttackDelay = AttackDelays[Difficulty]
AttackGroupSize = AttackGroupSizes[Difficulty]
Trigger.AfterDelay(DateTime.Seconds(10), function()
ProduceInfantry()
ProduceVehicles()