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

View file

@ -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);