From 04bfd62f2fc269bf924b21305cf27088c4004f9c Mon Sep 17 00:00:00 2001 From: Mustafa Alperen Seki Date: Sun, 12 Jul 2020 13:20:29 +0300 Subject: [PATCH] Fix FireClusterWarhead playing wrong Report sound. --- OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs b/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs index 857cd4cb2e..9b0e00f20c 100644 --- a/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs @@ -96,7 +96,7 @@ namespace OpenRA.Mods.Common.Warheads firedBy.World.AddFrameEndTask(w => w.Add(projectile)); if (projectileArgs.Weapon.Report != null && projectileArgs.Weapon.Report.Any()) - Game.Sound.Play(SoundType.World, args.Weapon.Report, firedBy.World, target.CenterPosition); + Game.Sound.Play(SoundType.World, projectileArgs.Weapon.Report, firedBy.World, target.CenterPosition); } }