Fix deathsounds regression.
This commit is contained in:
committed by
Chris Forbes
parent
a44e36cb04
commit
813e53f823
@@ -40,7 +40,7 @@ namespace OpenRA.Mods.Common.Traits.Sound
|
||||
if (IsTraitDisabled)
|
||||
return;
|
||||
|
||||
if (!Info.DeathTypes.IsEmpty || e.Damage.DamageTypes.Overlaps(Info.DeathTypes))
|
||||
if (Info.DeathTypes.IsEmpty || e.Damage.DamageTypes.Overlaps(Info.DeathTypes))
|
||||
self.PlayVoiceLocal(Info.Voice, Info.VolumeMultiplier);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user