summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 57b3111c2..8e0b7942f 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -1102,6 +1102,7 @@ StringID RemapOldStringID(StringID s)
}
extern void SortNetworkLanguages();
+extern void SortTownGeneratorNames();
bool ReadLanguagePack(int lang_index)
{
@@ -1159,6 +1160,7 @@ bool ReadLanguagePack(int lang_index)
_dynlang.curr = lang_index;
SetCurrentGrfLangID(_langpack->isocode);
SortNetworkLanguages();
+ SortTownGeneratorNames();
return true;
}