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.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/hercules/code/server/tmw/main.py b/hercules/code/server/tmw/main.py
index 4822199..6cd8f07 100644
--- a/hercules/code/server/tmw/main.py
+++ b/hercules/code/server/tmw/main.py
@@ -14,7 +14,10 @@ from code.server.questsdb import *
from code.serverutils import *
def serverTmwMain():
- cleanServerData()
+ try:
+ cleanServerData()
+ except:
+ print "Updating server"
createMainScript()
items = convertItemDb()
convertNpcs(items)