From d737ca20aaa9b016ecf67bf0cd6aa17b9b4553cf Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Sun, 29 Mar 2020 11:49:10 +0200 Subject: [PATCH] make dedicated server quit when no config found --- server.cfg | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/server.cfg b/server.cfg index 7b5855f1e..8862efcc0 100644 --- a/server.cfg +++ b/server.cfg @@ -1,8 +1,16 @@ echo -echo You have not written any server.cfg file yet. -echo The server will therefore run at default settings. +echo ^1You have started a dedicated server but have not created +echo ^1any server.cfg in your config directory. echo -echo For information on how to set up a dedicated server, -echo look at the files in the server/ subdirectory of your -echo Xonotic install. +echo ^1If you are seeing this when just trying to play Xonotic +echo ^1(not host a server), try the other executables. echo +echo ^1For information on how to set up a dedicated server, +echo ^1look at the files in the server/ subdirectory of your +echo ^1Xonotic install. +echo +echo ^1Quitting in 5 seconds. +echo + +// see https://gitlab.com/xonotic/xonotic/issues/184 +defer 5 quit -- 2.39.2