From d0065b42cb6bdebd680d3114b498397680b34a09 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 26 Oct 2012 01:27:16 +0000 Subject: Fix restoring fs_game when default.cfg is missing. --- src/qcommon/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/qcommon/files.c b/src/qcommon/files.c index ff5ab8e2..a7e4f4fb 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -3535,7 +3535,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); -- cgit