From d3291ea585d9b1c08769bfa144015bf856c78ed0 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 22 Feb 2020 18:22:51 +0000 Subject: [PATCH] Fix script error in ordos05. --- mods/d2k/maps/ordos-05/ordos05.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/d2k/maps/ordos-05/ordos05.lua b/mods/d2k/maps/ordos-05/ordos05.lua index a0a6847666..cda56823fc 100644 --- a/mods/d2k/maps/ordos-05/ordos05.lua +++ b/mods/d2k/maps/ordos-05/ordos05.lua @@ -201,10 +201,10 @@ WorldLoaded = function() Reinforcements.ReinforceWithTransport(player, "frigate", { "mcv" }, { OrdosStarportEntry.Location, AStarport.Location + CVec.New(1, 1) }, { OrdosStarportExit.Location }) - if APower8.Owner ~= player then + if APower8.Owner ~= player and not APower8.IsDead then APower8.Sell() end - if APower9.Owner ~= player then + if APower9.Owner ~= player and not APower9.IsDead then APower9.Sell() end end)