* Write q3config_server.cfg for the server, to avoid reseting client variables

after running a dedicated server
This commit is contained in:
Tim Angus 2008-02-28 21:39:54 +00:00
parent fd69a32508
commit e31156e586
3 changed files with 9 additions and 3 deletions

View file

@ -3317,7 +3317,7 @@ void FS_Restart( int checksumFeed ) {
if ( Q_stricmp(fs_gamedirvar->string, lastValidGame) ) {
// skip the q3config.cfg if "safe" is on the command line
if ( !Com_SafeMode() ) {
Cbuf_AddText ("exec q3config.cfg\n");
Cbuf_AddText ("exec " Q3CONFIG_CFG "\n");
}
}