From 4241ec7bbbafca3d3b5f6e613eb8fb75dda7e7dc Mon Sep 17 00:00:00 2001 From: "Jasper \"JappaWakka\" Speelman" Date: Mon, 11 Apr 2022 17:18:41 +0200 Subject: [PATCH] =?UTF-8?q?Fixed=20following=20pok=C3=A9mon=20wrong=20inte?= =?UTF-8?q?raction=20reaction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- P3D/Pokemon/Monster/PokemonInteractions.vb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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