From 3ffe684726a558eafa0ecd983398c28b4b65a138 Mon Sep 17 00:00:00 2001 From: Christoffer Anselm Date: Thu, 8 Jun 2017 01:14:19 +0200 Subject: [PATCH] Added missing Stats.StoreStats() API-method that one needs to call to make Steam Achievements show in Steam while the game is still running. --- Facepunch.Steamworks/Client/Stats.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Facepunch.Steamworks/Client/Stats.cs b/Facepunch.Steamworks/Client/Stats.cs index 7c9e095..be0a314 100644 --- a/Facepunch.Steamworks/Client/Stats.cs +++ b/Facepunch.Steamworks/Client/Stats.cs @@ -14,6 +14,11 @@ namespace Facepunch.Steamworks client = c; } + public bool StoreStats() + { + return client.native.userstats.StoreStats(); + } + public void UpdateStats() { client.native.userstats.RequestCurrentStats();