Fixed following pokémon wrong interaction reaction

This commit is contained in:
Jasper "JappaWakka" Speelman 2022-04-11 17:18:41 +02:00
parent a55549465d
commit 4241ec7bbb
1 changed files with 1 additions and 4 deletions

View File

@ -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