Use global difficulty.
This commit is contained in:
committed by
abcdefg30
parent
58b105f0d4
commit
d42edfc0b9
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user