mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-01-20 22:50:43 +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 )
|
static char *Sys_PIDFileName( void )
|
||||||
{
|
{
|
||||||
const char *homePath = Sys_DefaultHomePath( );
|
const char *homePath = Cvar_VariableString( "fs_homepath" );
|
||||||
|
|
||||||
if( *homePath != '\0' )
|
if( *homePath != '\0' )
|
||||||
return va( "%s/%s", homePath, PID_FILENAME );
|
return va( "%s/%s", homePath, PID_FILENAME );
|
||||||
|
|
Loading…
Reference in a new issue