From 0201536284be973064d853986939045f77c46e16 Mon Sep 17 00:00:00 2001 From: _nebula <41904486+misternebula@users.noreply.github.com> Date: Sat, 10 Jun 2023 00:33:30 +0100 Subject: [PATCH] Update QSBCore.cs --- QSB/QSBCore.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/QSB/QSBCore.cs b/QSB/QSBCore.cs index bf4cd9bc..a283972a 100644 --- a/QSB/QSBCore.cs +++ b/QSB/QSBCore.cs @@ -141,8 +141,9 @@ public class QSBCore : ModBehaviour DebugLog.ToConsole("[Steamworks.NET] DllCheck Test returned false, One or more of the Steamworks binaries seems to be the wrong version.", MessageType.Error); } - System.Environment.SetEnvironmentVariable("SteamAppId", "480"); - System.Environment.SetEnvironmentVariable("SteamGameId", "480"); + // from facepunch.steamworks SteamClient.cs + Environment.SetEnvironmentVariable("SteamAppId", "480"); + Environment.SetEnvironmentVariable("SteamGameId", "480"); if (!SteamAPI.Init()) {