Fixed server not setting appid properly

This commit is contained in:
Garry Newman 2019-05-13 09:13:19 +01:00
parent 99dcc83ab0
commit 44dfa45337

View File

@ -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
//