summaryrefslogtreecommitdiff
path: root/hercules/code/server/tmw/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'hercules/code/server/tmw/main.py')
-rw-r--r--hercules/code/server/tmw/main.py4
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()