Fix restoring fs_game when default.cfg is missing.
This commit is contained in:
1 parent
4f7eb9fa21
commit
d092ba6627
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user