summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-23 21:34:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-23 21:34:20 +0300
commit779f08bf7944c2e42caa726306939eaaefc6cfca (patch)
tree4c2a1fb2a6b4f8e2a83291e680c4cd7c4bc514d0 /hercules
parentb7b62a0961cfd39c0adca605a0664e0e196fa348 (diff)
downloadevol-tools-779f08bf7944c2e42caa726306939eaaefc6cfca.tar.gz
evol-tools-779f08bf7944c2e42caa726306939eaaefc6cfca.tar.bz2
evol-tools-779f08bf7944c2e42caa726306939eaaefc6cfca.tar.xz
evol-tools-779f08bf7944c2e42caa726306939eaaefc6cfca.zip
hercules: fix context related temp variables.
Diffstat (limited to 'hercules')
-rw-r--r--hercules/code/server/npcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hercules/code/server/npcs.py b/hercules/code/server/npcs.py
index 223d7f7..8d8f8f8 100644
--- a/hercules/code/server/npcs.py
+++ b/hercules/code/server/npcs.py
@@ -221,7 +221,7 @@ def processStrReplace(tracker):
line = line.replace("getclientversion(\"\")", "ClientVersion")
line = line.replace("getclientversion()", "ClientVersion")
line = line.replace("setlang @", "Lang = @")
- line = re.sub("([^@])@([^@])", "\\1.@\\2", line)
+ line = re.sub("([^@^$])@([^@])", "\\1.@\\2", line)
line = line.replace(".@menu", "@menu")
idx = line.find("getmapmobs(")
if idx >= 0: