split nuke announcements based on ally (and observer) / enemy
instead of me / everyone else
This commit is contained in:
@@ -41,7 +41,7 @@ namespace OpenRA.Mods.RA
|
|||||||
|
|
||||||
public override void Activate(Actor self, Order order)
|
public override void Activate(Actor self, Order order)
|
||||||
{
|
{
|
||||||
if (self.Owner == self.World.LocalPlayer)
|
if (self.Owner.IsAlliedWith(self.World.RenderPlayer))
|
||||||
Sound.Play(Info.LaunchSound);
|
Sound.Play(Info.LaunchSound);
|
||||||
else
|
else
|
||||||
Sound.Play(Info.IncomingSound);
|
Sound.Play(Info.IncomingSound);
|
||||||
|
|||||||
Reference in New Issue
Block a user