From 227aeee9046c10cecff5a7d10831534298a6aff8 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Wed, 28 Mar 2018 17:34:36 +0100 Subject: [PATCH] Apparently Linux needs ThisCall's too now --- Facepunch.Steamworks/Config.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Facepunch.Steamworks/Config.cs b/Facepunch.Steamworks/Config.cs index f2c324e..cb76bb2 100644 --- a/Facepunch.Steamworks/Config.cs +++ b/Facepunch.Steamworks/Config.cs @@ -32,7 +32,7 @@ public static void ForUnity( string platform ) } IsUnity = true; - UseThisCall = SteamNative.Platform.Os == OperatingSystem.Windows; + UseThisCall = SteamNative.Platform.Os == OperatingSystem.Windows || SteamNative.Platform.Os == OperatingSystem.Linux; Console.WriteLine( "Facepunch.Steamworks Unity: " + platform ); Console.WriteLine( "Facepunch.Steamworks Os: " + SteamNative.Platform.Os );