diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-23 21:34:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-23 21:34:20 +0300 |
commit | 779f08bf7944c2e42caa726306939eaaefc6cfca (patch) | |
tree | 4c2a1fb2a6b4f8e2a83291e680c4cd7c4bc514d0 /hercules | |
parent | b7b62a0961cfd39c0adca605a0664e0e196fa348 (diff) | |
download | evol-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.py | 2 |
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: |