diff options
Diffstat (limited to 'hercules')
-rw-r--r-- | hercules/code/server/npcs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hercules/code/server/npcs.py b/hercules/code/server/npcs.py index 28df6af..223d7f7 100644 --- a/hercules/code/server/npcs.py +++ b/hercules/code/server/npcs.py @@ -221,6 +221,8 @@ 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 = line.replace(".@menu", "@menu") idx = line.find("getmapmobs(") if idx >= 0: idx2 = line.find("\"", idx + len("getmapmobs(") + 1) |