diff --git a/doomsday/client/src/dd_main.cpp b/doomsday/client/src/dd_main.cpp index 8fdb853f5f..2b59eddadd 100644 --- a/doomsday/client/src/dd_main.cpp +++ b/doomsday/client/src/dd_main.cpp @@ -1844,7 +1844,7 @@ boolean DD_Init(void) */ // Attempt automatic game selection. - if(!CommandLine_Exists("-noautoselect")) + if(!CommandLine_Exists("-noautoselect") || isDedicated) { de::Game* game = DD_AutoselectGame(); @@ -1873,6 +1873,16 @@ boolean DD_Init(void) // We do not want to load these resources again on next game change. destroyPathList(&sessionResourceFileList, &numSessionResourceFileList); } +#ifdef __SERVER__ + else + { + // A server is presently useless without a game, as shell + // connections can only be made after a game is loaded and the + // server mode started. + /// @todo Allow shell connections in ringzero mode, too. + Con_Error("No playable games available."); + } +#endif } initPathLumpMappings();