summaryrefslogtreecommitdiff
path: root/hercules/code
diff options
context:
space:
mode:
Diffstat (limited to 'hercules/code')
-rw-r--r--hercules/code/server/npcs.py1
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)