Skip to content

Commit

Permalink
Fix Cloak.UncloakSound not being used.
Browse files Browse the repository at this point in the history
  • Loading branch information
pchote committed Nov 15, 2023
1 parent b2877f4 commit 873253d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Mods.Common/Traits/Cloak.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ void ITick.Tick(Actor self)
if (!(firstTick && Info.InitialDelay == 0) && (otherCloaks == null || !otherCloaks.Any(a => a.Cloaked)))
{
var pos = self.CenterPosition;
Game.Sound.Play(SoundType.World, Info.CloakSound, pos);
Game.Sound.Play(SoundType.World, Info.UncloakSound, pos);

Func<WPos> posfunc = () => self.CenterPosition + Info.EffectOffset;
if (!Info.EffectTracksActor)
Expand Down

0 comments on commit 873253d

Please sign in to comment.