mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-12 21:22:14 +00:00
Fix pid file ignoring user set fs_homepath
Create pid file in fs_homepath instead of (always) default homepath. If not manually set, fs_homepath is set to Sys_DefaultHomePath().
This commit is contained in:
parent
3273df14af
commit
39cf21bf54
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ Sys_PIDFileName
|
|||
*/
|
||||
static char *Sys_PIDFileName( void )
|
||||
{
|
||||
const char *homePath = Sys_DefaultHomePath( );
|
||||
const char *homePath = Cvar_VariableString( "fs_homepath" );
|
||||
|
||||
if( *homePath != '\0' )
|
||||
return va( "%s/%s", homePath, PID_FILENAME );
|
||||
|
|
Loading…
Reference in a new issue