summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-15 22:55:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-15 22:55:33 +0300
commitbb8f6eb03febc77e60f6c98f00d60813ade4619a (patch)
treed18d2109a152c6d0596cec3caabc19679ec04e33 /lang
parent92d2facb351cb8c9131fe235e339fa30df33f6d6 (diff)
downloadevol-tools-bb8f6eb03febc77e60f6c98f00d60813ade4619a.tar.gz
evol-tools-bb8f6eb03febc77e60f6c98f00d60813ade4619a.tar.bz2
evol-tools-bb8f6eb03febc77e60f6c98f00d60813ade4619a.tar.xz
evol-tools-bb8f6eb03febc77e60f6c98f00d60813ade4619a.zip
lang: fix script for reading item_db.
Diffstat (limited to 'lang')
-rwxr-xr-xlang/updatelang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/updatelang.py b/lang/updatelang.py
index fa4a157..0cb4b41 100755
--- a/lang/updatelang.py
+++ b/lang/updatelang.py
@@ -243,7 +243,7 @@ def loadItemDb(dir):
line = line.strip()
if line[0] == "}":
if itemId != "" and itemName != "":
- itemNamesByName[itemId] = itemName
+ itemNamesByName[itemName.lower()] = itemName
break
if len(line) > 6 and line[:5] == "Name:":
itemName = stripQuotes(line[5:].strip())