diff --git a/Assets/Scripts/EasterEggHandler.cs b/Assets/Scripts/EasterEggHandler.cs index 22584e9..a2065ea 100644 --- a/Assets/Scripts/EasterEggHandler.cs +++ b/Assets/Scripts/EasterEggHandler.cs @@ -1,4 +1,5 @@ -using System; +using Steamworks; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -51,7 +52,12 @@ namespace Assets.Scripts result[2] = stats[4]; result[3] = stats[5]; result[4] = stats[6]; - SteamWorksHandler.getStandardAchievement("GodAchievement"); + if (SteamManager.Initialized) + { + SteamWorksHandler.getStandardAchievement("GodAchievement"); + SteamUserStats.StoreStats(); + } + break; default: result[0] = stats[1];