summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
Diffstat (limited to 'hercules')
-rwxr-xr-xhercules/tmx_converter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hercules/tmx_converter.py b/hercules/tmx_converter.py
index feaf103..6469aa9 100755
--- a/hercules/tmx_converter.py
+++ b/hercules/tmx_converter.py
@@ -410,7 +410,7 @@ class ContentHandler(xml.sax.ContentHandler):
continue
if x.startswith('.'):
continue
- if x.endswith('.txt'):
+ if x.endswith('.txt') or x.endswith('.c'):
self.imports.write('"%s",\n' % posixpath.join(SERVER_NPCS, self.base, x))
else:
os.remove(posixpath.join(main.this_map_npc_dir, NPC_IMPORTS))