From 33915fb27152caa4e010f807898762929a632653 Mon Sep 17 00:00:00 2001 From: atlimit8 Date: Wed, 9 Sep 2015 18:35:55 -0500 Subject: [PATCH] DeathType Count check in Explodes --- OpenRA.Mods.Common/Traits/Explodes.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Explodes.cs b/OpenRA.Mods.Common/Traits/Explodes.cs index 9ae921107b..3fb15f935e 100644 --- a/OpenRA.Mods.Common/Traits/Explodes.cs +++ b/OpenRA.Mods.Common/Traits/Explodes.cs @@ -52,7 +52,7 @@ namespace OpenRA.Mods.Common.Traits return; var warhead = e.Warhead as DamageWarhead; - if (warhead != null && !warhead.DamageTypes.Overlaps(info.DeathType)) + if (info.DeathType.Count > 0 && warhead != null && !warhead.DamageTypes.Overlaps(info.DeathType)) return; var weaponName = ChooseWeaponForExplosion(self);