From 9664d1b7c3fba716dc63674fafc576219e247f8b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Feb 2015 23:27:46 +0300 Subject: hercules: db converter. save language in player variable. --- hercules/code/server/evol/athena.py | 1 + hercules/code/server/tmw/athena.py | 1 + 2 files changed, 2 insertions(+) (limited to 'hercules') diff --git a/hercules/code/server/evol/athena.py b/hercules/code/server/evol/athena.py index be2f569..567db3b 100644 --- a/hercules/code/server/evol/athena.py +++ b/hercules/code/server/evol/athena.py @@ -201,6 +201,7 @@ def readAthena(): user.skills = parseSkills(line, rows[17]) user.variables = parseVars(line, rows[18]) + user.variables["Lang"] = user.language_id users[user.char_id] = user diff --git a/hercules/code/server/tmw/athena.py b/hercules/code/server/tmw/athena.py index 27855b9..4c59ea1 100644 --- a/hercules/code/server/tmw/athena.py +++ b/hercules/code/server/tmw/athena.py @@ -191,6 +191,7 @@ def readAthena(): user.save_y = tmp[2] user.partner_id = "0" + user.language_id = "0" # skip 14 -- cgit v1.2.3-70-g09d2