From 44cba3d22830ba353e6f94484a6596d0a62644cd Mon Sep 17 00:00:00 2001 From: Rubat Date: Thu, 20 May 2021 19:29:12 +0300 Subject: [PATCH] Make Steamworks.SteamClient.IsValid is correct without Steam Make sure Steamworks.SteamClient.IsValid is correct without Steam running --- Facepunch.Steamworks/SteamClient.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Facepunch.Steamworks/SteamClient.cs b/Facepunch.Steamworks/SteamClient.cs index be098d5..42a1028 100644 --- a/Facepunch.Steamworks/SteamClient.cs +++ b/Facepunch.Steamworks/SteamClient.cs @@ -60,6 +60,8 @@ public static void Init( uint appid, bool asyncCallbacks = true ) AddInterface(); AddInterface(); + initialized = openInterfaces.Count > 0; + if ( asyncCallbacks ) { //