Fix FireClusterWarhead playing wrong Report sound.
This commit is contained in:
committed by
abcdefg30
parent
117b8b3653
commit
04bfd62f2f
@@ -96,7 +96,7 @@ namespace OpenRA.Mods.Common.Warheads
|
|||||||
firedBy.World.AddFrameEndTask(w => w.Add(projectile));
|
firedBy.World.AddFrameEndTask(w => w.Add(projectile));
|
||||||
|
|
||||||
if (projectileArgs.Weapon.Report != null && projectileArgs.Weapon.Report.Any())
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user