From a86f27bf0f3d0a7db66a5773c4e5936d3bd7cd94 Mon Sep 17 00:00:00 2001 From: Ziemas Date: Sun, 28 Jun 2020 16:33:09 +0200 Subject: [PATCH] Let HellSpawner get at the string translation map (#479) --- d2common/text_dictionary.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/d2common/text_dictionary.go b/d2common/text_dictionary.go index 00b7ba60..26710156 100644 --- a/d2common/text_dictionary.go +++ b/d2common/text_dictionary.go @@ -33,6 +33,10 @@ func GetDictionaryEntryCount() int { return len(lookupTable) } +func GetTranslationMap() map[string]string { + return lookupTable +} + func LoadTextDictionary(dictionaryData []byte) { if lookupTable == nil { lookupTable = make(map[string]string)