Fix restoring fs_game when default.cfg is missing.

This commit is contained in:
Zack Middleton 2012-10-26 01:27:16 +00:00
parent 4f7eb9fa21
commit d092ba6627
1 changed files with 1 additions and 1 deletions

View File

@ -3828,7 +3828,7 @@ void FS_Restart( int checksumFeed ) {
if (lastValidBase[0]) { if (lastValidBase[0]) {
FS_PureServerSetLoadedPaks("", ""); FS_PureServerSetLoadedPaks("", "");
Cvar_Set("fs_basepath", lastValidBase); Cvar_Set("fs_basepath", lastValidBase);
Cvar_Set("fs_gamedirvar", lastValidGame); Cvar_Set("fs_game", lastValidGame);
lastValidBase[0] = '\0'; lastValidBase[0] = '\0';
lastValidGame[0] = '\0'; lastValidGame[0] = '\0';
FS_Restart(checksumFeed); FS_Restart(checksumFeed);