diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-19 20:22:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-19 21:08:48 +0300 |
commit | ffae72db7aa5eeeac3bead8c0f505b73f4e2b6a4 (patch) | |
tree | f1670e0b63f296603ced1da1ab4c21a4500ee1ef /hercules/code/server/tmw/main.py | |
parent | 1673d571967c933bbf79568c9e9eb51ec4995127 (diff) | |
download | tools-ffae72db7aa5eeeac3bead8c0f505b73f4e2b6a4.tar.gz tools-ffae72db7aa5eeeac3bead8c0f505b73f4e2b6a4.tar.bz2 tools-ffae72db7aa5eeeac3bead8c0f505b73f4e2b6a4.tar.xz tools-ffae72db7aa5eeeac3bead8c0f505b73f4e2b6a4.zip |
hercules: fix parsing warps in new tmwa format (missing wap name).
Diffstat (limited to 'hercules/code/server/tmw/main.py')
-rw-r--r-- | hercules/code/server/tmw/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hercules/code/server/tmw/main.py b/hercules/code/server/tmw/main.py index 7a872b4..330c860 100644 --- a/hercules/code/server/tmw/main.py +++ b/hercules/code/server/tmw/main.py @@ -22,13 +22,13 @@ from code.server.utils import * from code.server.questsdb import * from code.serverutils import * -def serverTmwMain(): +def serverTmwMain(isNew): try: cleanServerData() except: print "Updating server" createMainScript() - items = convertItemDb() + items = convertItemDb(isNew) npcIds = Set() convertNpcs(items, npcIds) convertMobDb() |