We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1708add commit f70c03dCopy full SHA for f70c03d
1 file changed
DebugLoop.cpp
@@ -145,6 +145,13 @@ static void HandleIndexDataMessage(const PipeMessage& message)
145
// ----------------------------------------------------------------------------
146
static bool HandleSteamAppIDMessage(const PipeMessage& message)
147
{
148
+ if (GetEnvironmentVariableA("SteamAppID", g_path, sizeof(g_path)) > 0)
149
+ {
150
+ PID_DEBUG("Already tried to restart with SteamAppID once, aborting...\n", message.pid);
151
+ PID_DEBUG("Make sure Steam is actually running.\n", message.pid);
152
+ return false;
153
+ }
154
+
155
snprintf(g_path, sizeof(g_path), "%u", message.msgUInt);
156
157
if (SetEnvironmentVariableA("SteamAppID", g_path))
0 commit comments