From: Holger Schemel Date: Tue, 3 Mar 2015 10:11:42 +0000 (+0100) Subject: changed setup to be initialized before executing commands X-Git-Tag: 4.0.0.0-rc1~257 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=9fb817132a5f07e7dce091dbb01e1d6a8dc40f17 changed setup to be initialized before executing commands --- 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();