소스 검색

Correct replace_OGP_Env_Vars call to include screen_id (#64)

$screen_id was missing from the call to replace_OGP_Env_Vars when parsing environment variables, meaning the steamcmd specific special entries would never work in a game XML's environment variables.
keta 6 달 전
부모
커밋
de0116f4e4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ogp_agent.pl

+ 1 - 1
ogp_agent.pl

@@ -906,7 +906,7 @@ sub universal_start_without_decrypt
 		my @prestartenvvars = split /[\r\n]+/, $envVars;
 		my $envVarStr = "";
 		foreach my $line (@prestartenvvars) {
-			$line = replace_OGP_Env_Vars("", $home_id, $home_path, $line, $game_key);
+			$line = replace_OGP_Env_Vars($screen_id, $home_id, $home_path, $line, $game_key);
 			if($line ne ""){
 				logger "Configuring environment variable: $line";
 				$envVarStr .= "$line\n";