From 9fb817132a5f07e7dce091dbb01e1d6a8dc40f17 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 3 Mar 2015 11:11:42 +0100 Subject: [PATCH] changed setup to be initialized before executing commands --- src/init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/init.c b/src/init.c index 25e8c07a..a760cbf5 100644 --- a/src/init.c +++ b/src/init.c @@ -5673,6 +5673,10 @@ void OpenAll() print_timestamp_time("[init global stuff]"); + InitSetup(); + + print_timestamp_time("[init setup/config stuff (1)]"); + if (options.execute_command) Execute_Command(options.execute_command); @@ -5687,10 +5691,6 @@ void OpenAll() exit(0); /* never reached, server loops forever */ } - InitSetup(); - - print_timestamp_time("[init setup/config stuff (1)]"); - InitGameInfo(); print_timestamp_time("[init setup/config stuff (2)]"); InitPlayerInfo(); -- 2.34.1