Ver Fonte

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 há 6 meses atrás
pai
commit
de0116f4e4
1 ficheiros alterados com 1 adições e 1 exclusões
  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";