mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-26 23:34:58 +02:00
Grab correct localized map name for catchlocation
This commit is contained in:
parent
8ec0e71675
commit
e6c32dc8a1
@ -420,6 +420,8 @@ Public Class Pokemon
|
||||
Get
|
||||
If _catchLocation.StartsWith("<system.token(") AndAlso _catchLocation.EndsWith(")>") Then
|
||||
Return Localization.GetString(_catchLocation.Remove(_catchLocation.Length - 2, 2).Remove(0, "<system.token(".Length))
|
||||
ElseIf Localization.TokenExists(Localization.GetString("Places_" & _catchLocation, _catchLocation)) Then
|
||||
Return Localization.GetString("Places_" & _catchLocation, _catchLocation)
|
||||
Else
|
||||
Return Me._catchLocation
|
||||
End If
|
||||
|
Loading…
x
Reference in New Issue
Block a user