summaryrefslogtreecommitdiff
path: root/hercules/code
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-01 15:21:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-01 15:21:56 +0300
commit81b5efc64252d46ece8c46cf8e95603a9710e20a (patch)
tree9caf756737e183cbb0c53146b74ae353cd6b571a /hercules/code
parent09e5ed352ea43aea4741daaaa6f5b842dc833626 (diff)
downloadevol-tools-81b5efc64252d46ece8c46cf8e95603a9710e20a.tar.gz
evol-tools-81b5efc64252d46ece8c46cf8e95603a9710e20a.tar.bz2
evol-tools-81b5efc64252d46ece8c46cf8e95603a9710e20a.tar.xz
evol-tools-81b5efc64252d46ece8c46cf8e95603a9710e20a.zip
hercules: tmw: remove ".gat" from all lines.
Diffstat (limited to 'hercules/code')
-rw-r--r--hercules/code/server/tmw/npcs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hercules/code/server/tmw/npcs.py b/hercules/code/server/tmw/npcs.py
index 675f94f..eeba693 100644
--- a/hercules/code/server/tmw/npcs.py
+++ b/hercules/code/server/tmw/npcs.py
@@ -308,6 +308,7 @@ def processStrReplace(tracker):
line = line.replace("L_next", "L_Next")
line = line.replace("L_close", "L_Close")
+ line = line.replace(".gat", "")
line = re.sub("([^@^$])@([^@])", "\\1.@\\2", line)
line = line.replace(".@menu", "@menu")