Fix ordos-04 to use internal bot names

This commit is contained in:
JovialFeline
2025-01-15 19:22:14 -05:00
committed by Gustas
parent 0651308210
commit a4641be7e7
2 changed files with 3 additions and 3 deletions

View File

@@ -31,9 +31,9 @@ SmugglerTankType = { "combat_tank_o" }
InitAIUnits = function(house)
LastHarvesterEaten[house] = true
IdlingUnits[house] = Reinforcements.Reinforce(house, InitialReinforcements[house.Name], InitialReinforcementsPaths[house.Name])
IdlingUnits[house] = Reinforcements.Reinforce(house, InitialReinforcements[house.InternalName], InitialReinforcementsPaths[house.InternalName])
DefendAndRepairBase(house, Base[house.Name], 0.75, AttackGroupSize[Difficulty])
DefendAndRepairBase(house, Base[house.InternalName], 0.75, AttackGroupSize[Difficulty])
end
ActivateAI = function()

View File

@@ -65,7 +65,7 @@ SendHarkonnen = function(path)
end
Hunt = function(house)
Trigger.OnAllKilledOrCaptured(Base[house.Name], function()
Trigger.OnAllKilledOrCaptured(Base[house.InternalName], function()
Utils.Do(house.GetGroundAttackers(), IdleHunt)
end)
end