diff --git a/Facepunch.Steamworks/Redux/Steam.cs b/Facepunch.Steamworks/Redux/Steam.cs index 3ab5005..7cc40ad 100644 --- a/Facepunch.Steamworks/Redux/Steam.cs +++ b/Facepunch.Steamworks/Redux/Steam.cs @@ -12,6 +12,11 @@ namespace Steamworks public static void Init( uint appid ) { + if ( IntPtr.Size != 8 ) + { + throw new System.Exception( "Only 64bit processes are currently supported" ); + } + System.Environment.SetEnvironmentVariable( "SteamAppId", appid.ToString() ); System.Environment.SetEnvironmentVariable( "SteamGameId", appid.ToString() );