diff --git a/OpenRA.Mods.AS/Traits/Conditions/GrantTimedConditionOnTeleport.cs b/OpenRA.Mods.AS/Traits/Conditions/GrantTimedConditionOnTeleport.cs index 926dc4fc5b37..2c0c4e6a0333 100644 --- a/OpenRA.Mods.AS/Traits/Conditions/GrantTimedConditionOnTeleport.cs +++ b/OpenRA.Mods.AS/Traits/Conditions/GrantTimedConditionOnTeleport.cs @@ -96,7 +96,7 @@ void ITick.Tick(Actor self) void IOnSuccessfulTeleportRA2.OnSuccessfulTeleport(string type, WPos oldPos, WPos newPos) { - if (Info.TeleportTypes.Contains(type)) + if (Info.TeleportTypes.Count != 0 && Info.TeleportTypes.Contains(type)) GrantCondition(self, info.Condition); }