diff --git a/code/sys/sys_unix.c b/code/sys/sys_unix.c index 8610c2bc..e1b87ed2 100644 --- a/code/sys/sys_unix.c +++ b/code/sys/sys_unix.c @@ -498,7 +498,7 @@ void Sys_ErrorDialog( const char *error ) unsigned int size; int f = -1; const char *homepath = Cvar_VariableString( "fs_homepath" ); - const char *gamedir = Cvar_VariableString( "fs_gamedir" ); + const char *gamedir = Cvar_VariableString( "fs_game" ); const char *fileName = "crashlog.txt"; char *ospath = FS_BuildOSPath( homepath, gamedir, fileName );