Skip to content

Commit

Permalink
Fix fallback name
Browse files Browse the repository at this point in the history
Should be gotoPlace.SiteDetails.locationName for non-localized canonical name.
  • Loading branch information
Interkarma committed Nov 27, 2022
1 parent 87041f0 commit 33c8d2e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -444,7 +444,7 @@ public override void Update()
if (gotoPlace != null)
{
// Get localized name for search with fallback to canonical name
string localizedGotoPlaceName = TextManager.Instance.GetLocalizedLocationName(gotoPlace.SiteDetails.mapId, gotoPlace.Name);
string localizedGotoPlaceName = TextManager.Instance.GetLocalizedLocationName(gotoPlace.SiteDetails.mapId, gotoPlace.SiteDetails.locationName);

// Open region and search for localizedGotoPlaceName
mouseOverRegion = gotoPlace.SiteDetails.regionIndex;
Expand Down

0 comments on commit 33c8d2e

Please sign in to comment.