diff --git a/Facepunch.Steamworks/SteamServer.cs b/Facepunch.Steamworks/SteamServer.cs index c1164b8..0c0424e 100644 --- a/Facepunch.Steamworks/SteamServer.cs +++ b/Facepunch.Steamworks/SteamServer.cs @@ -55,6 +55,9 @@ public static void Init( AppId appid, SteamServerInit init ) if ( init.IpAddress != null ) ipaddress = Utility.IpToInt32( init.IpAddress ); + System.Environment.SetEnvironmentVariable( "SteamAppId", appid.ToString() ); + System.Environment.SetEnvironmentVariable( "SteamGameId", appid.ToString() ); + // // Get other interfaces //