Fix deathsounds regression.

This commit is contained in:
Zimmermann Gyula
2018-07-29 15:47:38 +02:00
committed by Chris Forbes
parent a44e36cb04
commit 813e53f823

View File

@@ -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);
}
}