diff options
author | Zack Middleton <zturtleman@gmail.com> | 2012-10-26 01:27:16 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 21:20:52 +0000 |
commit | d0065b42cb6bdebd680d3114b498397680b34a09 (patch) | |
tree | 749f50160bab323715555219ba91f44b6f896652 /src | |
parent | 9487654b9dd89200a7d28912effe717651387fa3 (diff) |
Fix restoring fs_game when default.cfg is missing.
Diffstat (limited to 'src')
-rw-r--r-- | src/qcommon/files.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |