mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-02-07 08:21:48 +00:00
Fix restoring fs_game when default.cfg is missing.
This commit is contained in:
parent
4f7eb9fa21
commit
d092ba6627
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue