From d092ba66279aa79e2959cd88c8aaa8a1a3f79893 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 26 Oct 2012 01:27:16 +0000 Subject: [PATCH] Fix restoring fs_game when default.cfg is missing. --- code/qcommon/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/files.c b/code/qcommon/files.c index cfb0d82f..b8cf76d8 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -3828,7 +3828,7 @@ void FS_Restart( int checksumFeed ) { if (lastValidBase[0]) { FS_PureServerSetLoadedPaks("", ""); Cvar_Set("fs_basepath", lastValidBase); - Cvar_Set("fs_gamedirvar", lastValidGame); + Cvar_Set("fs_game", lastValidGame); lastValidBase[0] = '\0'; lastValidGame[0] = '\0'; FS_Restart(checksumFeed);