mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
SteamAPI_Init returns bool
This commit is contained in:
parent
9922de378a
commit
bb1980eb84
@ -28,7 +28,8 @@ internal bool InitClient()
|
||||
{
|
||||
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…
Reference in New Issue
Block a user