From 4ff67a9c9977e216c5b63bf5c80480dba1e2fcab Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 24 Jun 2013 13:13:27 -0300 Subject: Fixed Bug #7412 Special Thanks to shenhuyong http://hercules.ws/board/tracker/issue-7412-create-instancereloadscript-causes-map-server-crash/ Signed-off-by: shennetsind --- src/map/map.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index 956ae5969..74e2c74e0 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -5006,8 +5006,6 @@ void do_final(void) iMap->quit(sd); mapit->free(iter); - instance->final(); - /* prepares npcs for a faster shutdown process */ do_clear_npc(); @@ -5031,6 +5029,7 @@ void do_final(void) do_final_npc(); script->final(); itemdb->final(); + instance->final(); storage->final(); guild->final(); party->do_final_party(); -- cgit v1.2.3-70-g09d2