From 2f4a92d70192468096e35974f0725532aef837b1 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 3 Dec 2011 03:23:14 +0200 Subject: Better mod loading error handling --- src/servermain.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/servermain.cpp') diff --git a/src/servermain.cpp b/src/servermain.cpp index 64853604b..e8a54512e 100644 --- a/src/servermain.cpp +++ b/src/servermain.cpp @@ -76,6 +76,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "log.h" #include "nodedef.h" // For init_contentfeatures #include "content_mapnode.h" // For content_mapnode_init +#include "mods.h" /* Settings. @@ -365,6 +366,10 @@ int main(int argc, char *argv[]) { errorstream<<"Connection timed out."<