Initialize Steam Input so it actually works

This commit is contained in:
Peewi 2023-01-31 17:33:41 +01:00
parent 4e7e0ef8c4
commit 9ac4042974

View File

@ -14,6 +14,7 @@ namespace Steamworks
internal override bool InitializeInterface( bool server ) internal override bool InitializeInterface( bool server )
{ {
SetInterface( server, new ISteamInput( server ) ); SetInterface( server, new ISteamInput( server ) );
Internal.Init( false );
if ( Interface.Self == IntPtr.Zero ) return false; if ( Interface.Self == IntPtr.Zero ) return false;
return true; return true;