summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-11 03:41:10 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-11 03:41:10 +0000
commit7f83ceb98c6b1e0f4c949eaf9e03715b68ab58ca (patch)
treea651ea61c6e345412fa0362944b26fb77213df92 /src/char/char.c
parente551e39b0911880c0f89f1c37666792bde7c49b3 (diff)
downloadhercules-7f83ceb98c6b1e0f4c949eaf9e03715b68ab58ca.tar.gz
hercules-7f83ceb98c6b1e0f4c949eaf9e03715b68ab58ca.tar.bz2
hercules-7f83ceb98c6b1e0f4c949eaf9e03715b68ab58ca.tar.xz
hercules-7f83ceb98c6b1e0f4c949eaf9e03715b68ab58ca.zip
Quick fix to txt charserver initialization order - chardb needs to be ready for parties to load correctly.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13275 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/char/char.c b/src/char/char.c
index dbd54fe6d..4cd0f5ce4 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -4199,12 +4199,8 @@ int do_init(int argc, char **argv)
ShowInfo("Finished reading the char-server configuration.\n");
- inter_init_txt((argc > 2) ? argv[2] : inter_cfgName); // inter server 初期化
- ShowInfo("Finished reading the inter-server configuration.\n");
-
// a newline in the log...
char_log("");
- // moved behind char_config_read in case we changed the filename [celest]
char_log("The char-server starting...\n");
ShowInfo("Initializing char server.\n");
@@ -4215,6 +4211,7 @@ int do_init(int argc, char **argv)
#ifdef ENABLE_SC_SAVING
status_init();
#endif
+ inter_init_txt((argc > 2) ? argv[2] : inter_cfgName); // inter server 初期化
ShowInfo("char server initialized.\n");
set_defaultparse(parse_char);