diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-20 23:53:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-20 23:53:57 +0300 |
commit | 79a1e1cce7db9c5e5e31ff944e16007638088edf (patch) | |
tree | e9d12548839350f51644665d059e2259b1b5ea40 | |
parent | b774293f7d62cd8677f1c92939421f3b47f5c2e1 (diff) | |
download | evol-tools-79a1e1cce7db9c5e5e31ff944e16007638088edf.tar.gz evol-tools-79a1e1cce7db9c5e5e31ff944e16007638088edf.tar.bz2 evol-tools-79a1e1cce7db9c5e5e31ff944e16007638088edf.tar.xz evol-tools-79a1e1cce7db9c5e5e31ff944e16007638088edf.zip |
hercules: replace setlang @var to Lang = @var
-rw-r--r-- | hercules/code/server/npcs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hercules/code/server/npcs.py b/hercules/code/server/npcs.py index 43254d2..28df6af 100644 --- a/hercules/code/server/npcs.py +++ b/hercules/code/server/npcs.py @@ -220,6 +220,7 @@ def processStrReplace(tracker): line = line.replace("misceffect ", "misceffect2 ") line = line.replace("getclientversion(\"\")", "ClientVersion") line = line.replace("getclientversion()", "ClientVersion") + line = line.replace("setlang @", "Lang = @") idx = line.find("getmapmobs(") if idx >= 0: idx2 = line.find("\"", idx + len("getmapmobs(") + 1) |