summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 269230b38..4b3ab3d93 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -4017,8 +4017,7 @@ int do_init_script()
return 0;
}
-int script_reload()
-{
+int script_reload() {
userfunc_db->clear(userfunc_db, db_script_free_code_sub);
db_clear(scriptlabel_db);
@@ -4031,7 +4030,6 @@ int script_reload()
}
linkdb_final(&sleep_db);
}
-
mapreg_reload();
return 0;
}