added support for nuke launch sound to confirm strike
separated into IncomingSound = "nuke approaching/detected" and changed LaunchSound into "nuke lauched" also nuke with small L .aud in cnc rules looks like a typo
This commit is contained in:
@@ -41,9 +41,10 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
public override void Activate(Actor self, Order order)
|
||||
{
|
||||
// Play to everyone but the current player
|
||||
if (self.Owner != self.World.LocalPlayer)
|
||||
if (self.Owner == self.World.LocalPlayer)
|
||||
Sound.Play(Info.LaunchSound);
|
||||
else
|
||||
Sound.Play(Info.IncomingSound);
|
||||
|
||||
var npi = Info as NukePowerInfo;
|
||||
var rb = self.Trait<RenderSimple>();
|
||||
|
||||
Reference in New Issue
Block a user