From 6ba0c448c8120b998fe0a2086414e882e30e92f7 Mon Sep 17 00:00:00 2001 From: ScottNZ Date: Fri, 22 Jun 2012 15:27:07 +1200 Subject: [PATCH] Remove killing of player when they fail the mission, this is more fun and it's also really loud when all the units die at once --- OpenRA.Mods.RA/Missions/Allies01Script.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/OpenRA.Mods.RA/Missions/Allies01Script.cs b/OpenRA.Mods.RA/Missions/Allies01Script.cs index de2f7825ce..e0c86643f1 100644 --- a/OpenRA.Mods.RA/Missions/Allies01Script.cs +++ b/OpenRA.Mods.RA/Missions/Allies01Script.cs @@ -84,10 +84,6 @@ namespace OpenRA.Mods.RA.Missions } allies.WinState = WinState.Lost; Game.AddChatLine(Color.Red, "Mission failed", text); - foreach (var actor in self.World.Actors.Where(a => a.Owner == allies)) - { - actor.Kill(actor); - } self.World.LocalShroud.Disabled = true; Sound.Play("misnlst1.aud", 5); }