summaryrefslogtreecommitdiff
path: root/hercules/code
diff options
context:
space:
mode:
Diffstat (limited to 'hercules/code')
-rw-r--r--hercules/code/server/npcs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/hercules/code/server/npcs.py b/hercules/code/server/npcs.py
index 0cc618e..e56b3f8 100644
--- a/hercules/code/server/npcs.py
+++ b/hercules/code/server/npcs.py
@@ -214,6 +214,8 @@ def processStrReplace(tracker):
line = line.replace("zeny", "Zeny")
line = line.replace("countitem(", "countitemcolor(")
line = line.replace("misceffect ", "misceffect2 ")
+ line = line.replace("getclientversion(\"\")", "ClientVersion")
+ line = line.replace("getclientversion()", "ClientVersion")
idx = line.find("getmapmobs(")
if idx >= 0:
idx2 = line.find("\"", idx + len("getmapmobs(") + 1)