Apparently Linux needs ThisCall's too now

This commit is contained in:
Garry Newman 2018-03-28 17:34:36 +01:00
parent 9270eaef07
commit 227aeee904

View File

@ -32,7 +32,7 @@ public static void ForUnity( string platform )
} }
IsUnity = true; 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 Unity: " + platform );
Console.WriteLine( "Facepunch.Steamworks Os: " + SteamNative.Platform.Os ); Console.WriteLine( "Facepunch.Steamworks Os: " + SteamNative.Platform.Os );