mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-24 12:38:00 +03:00
SteamAPI_Init returns bool
This commit is contained in:
parent
9922de378a
commit
bb1980eb84
@ -28,7 +28,8 @@ namespace Facepunch.Steamworks.Interop
|
||||
{
|
||||
api = new SteamNative.SteamApi( (IntPtr) 1 );
|
||||
|
||||
api.SteamAPI_Init();
|
||||
if ( !api.SteamAPI_Init() )
|
||||
return false;
|
||||
|
||||
var user = api.SteamAPI_GetHSteamUser();
|
||||
var pipe = api.SteamAPI_GetHSteamPipe();
|
||||
|
Loading…
x
Reference in New Issue
Block a user