mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 07:44:31 +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
|
Get
|
||||||
If _catchLocation.StartsWith("<system.token(") AndAlso _catchLocation.EndsWith(")>") Then
|
If _catchLocation.StartsWith("<system.token(") AndAlso _catchLocation.EndsWith(")>") Then
|
||||||
Return Localization.GetString(_catchLocation.Remove(_catchLocation.Length - 2, 2).Remove(0, "<system.token(".Length))
|
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
|
Else
|
||||||
Return Me._catchLocation
|
Return Me._catchLocation
|
||||||
End If
|
End If
|
||||||
|
Loading…
x
Reference in New Issue
Block a user