diff --git a/P3D/Pokemon/Monster/PokemonInteractions.vb b/P3D/Pokemon/Monster/PokemonInteractions.vb index 784b9e8b3..4f5afc332 100644 --- a/P3D/Pokemon/Monster/PokemonInteractions.vb +++ b/P3D/Pokemon/Monster/PokemonInteractions.vb @@ -820,11 +820,8 @@ Public Function Match(ByVal p As Pokemon) As Boolean If MapFiles.Count > 0 Then - If MapFiles.Any(Function(m As String) - Return m.ToLowerInvariant() = Screen.Level.LevelFile.ToLowerInvariant() - End Function) Then + If MapFiles.Contains(Screen.Level.LevelFile.ToLowerInvariant()) = False Then Return False - End If End If