Skip to content

Commit

Permalink
Fix Lua error in Har8 when Merc HFac is captured after Palace is killed.
Browse files Browse the repository at this point in the history
  • Loading branch information
MustaphaTR authored and abcdefg30 committed Apr 13, 2021
1 parent 2d05e10 commit a9661a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mods/d2k/maps/harkonnen-08/harkonnen08.lua
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ WorldLoaded = function()
Trigger.OnCapture(MHeavyFactory, function()
player.MarkCompletedObjective(AllyWithMercenaries)
Media.DisplayMessage("Leader Captured. Mercenaries have been persuaded to fight with House Harkonnen.", "Mentat")
MercenaryAttackLocation = OPalace.Location
MercenaryAttackLocation = MercenaryAttackPoint.Location

ChangeOwner(mercenary_enemy, mercenary_ally)
SendStarportReinforcements(mercenary_ally)
Expand Down
3 changes: 3 additions & 0 deletions mods/d2k/maps/harkonnen-08/map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -649,5 +649,8 @@ Actors:
SaboteurWaypoint6: waypoint
Owner: Neutral
Location: 64,91
MercenaryAttackPoint: waypoint
Owner: Neutral
Location: 53,38

Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml

0 comments on commit a9661a2

Please sign in to comment.