From: Mario Date: Sat, 30 May 2020 14:11:05 +0000 (+1000) Subject: Don't crash the game if a "nasty" -game name is rejected, matches behavior of missing... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0cb0479b136a275d6c31a7bc68d9634564503433;p=xonotic%2Fdarkplaces.git Don't crash the game if a "nasty" -game name is rejected, matches behavior of missing -game name --- diff --git a/fs.c b/fs.c index 590a336c..72004d79 100644 --- a/fs.c +++ b/fs.c @@ -2159,7 +2159,7 @@ void FS_Init (void) i++; p = FS_CheckGameDir(com_argv[i]); if(!p) - Sys_Error("Nasty -game name rejected: %s", com_argv[i]); + Con_Printf("WARNING: Nasty -game name rejected: %s\n", com_argv[i]); if(p == fs_checkgamedir_missing) Con_Warnf("WARNING: -game %s%s/ not found!\n", fs_basedir, com_argv[i]); // add the gamedir to the list of active gamedirs