Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Solxanich committed Aug 31, 2023
1 parent efba961 commit 26fc93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/tModLoader/Terraria/ModLoader/Engine/Steam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ internal static void SetAppId(AppId_t appId)
var steam_appid_path = "steam_appid.txt";

// Family Share & GoG, Dev Enviroments rely on steam_appid.txt to know what the game is in Steam
if (Environment.GetEnvironmentVariable("SteamClientLaunch") != "1" || Social.Steam.SteamedWraps.FamilyShared) {
if (Environment.GetEnvironmentVariable("SteamClientLaunch") != "1" || Social.Steam.SteamedWraps.FamilyShared || InstallVerifier.DistributionPlatform == DistributionPlatform.GoG) {
File.WriteAllText(steam_appid_path, appId.ToString());
return;
}
Expand Down

0 comments on commit 26fc93f

Please sign in to comment.