diff --git a/OpenRA.Game/Sound.cs b/OpenRA.Game/Sound.cs index bba92f2646..f742603d73 100644 --- a/OpenRA.Game/Sound.cs +++ b/OpenRA.Game/Sound.cs @@ -238,6 +238,9 @@ namespace OpenRA var vi = Rules.Voices[mi.Voice.ToLowerInvariant()]; + if (!vi.Pools.Value.ContainsKey(phrase)) + return false; + var clip = vi.Pools.Value[phrase].GetNext(); if (clip == null) return false;