diff --git a/Facepunch.Steamworks.Test/Client/AchievementsTest.cs b/Facepunch.Steamworks.Test/Client/AchievementsTest.cs index 79dbf3c..dc9db85 100644 --- a/Facepunch.Steamworks.Test/Client/AchievementsTest.cs +++ b/Facepunch.Steamworks.Test/Client/AchievementsTest.cs @@ -56,7 +56,7 @@ namespace Facepunch.Steamworks.Test Console.WriteLine( " - - " + ach.Description ); Console.WriteLine( " - - " + ach.State ); Console.WriteLine( " - - " + ach.UnlockTime ); - Console.WriteLine( " - - " + ach.Percentage ); + Console.WriteLine( " - - " + ach.GlobalUnlockedPercentage ); if ( ach.Icon != null ) { diff --git a/Facepunch.Steamworks/Client/Achievements.cs b/Facepunch.Steamworks/Client/Achievements.cs index ce80fd1..ba152cf 100644 --- a/Facepunch.Steamworks/Client/Achievements.cs +++ b/Facepunch.Steamworks/Client/Achievements.cs @@ -143,9 +143,9 @@ namespace Facepunch.Steamworks private int refreshCount = 0; /// - /// If this achievement is linked to a stat this will return the progress. + /// Returns the percentage of users who have unlocked the specified achievement, or -1 if no data available. /// - public float Percentage + public float GlobalUnlockedPercentage { get {