projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6bcc5
)
changed setup to be initialized before executing commands
author
Holger Schemel
<info@artsoft.org>
Tue, 3 Mar 2015 10:11:42 +0000
(11:11 +0100)
committer
Holger Schemel
<info@artsoft.org>
Tue, 3 Mar 2015 10:11:42 +0000
(11:11 +0100)
src/init.c
patch
|
blob
|
history
diff --git
a/src/init.c
b/src/init.c
index 25e8c07a3b6da5556edefdbb661785ffae52bf3a..a760cbf51223c3c3a42d8a01bdafb2933cdfa5bf 100644
(file)
--- 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();