Check GameId on achievement callbacks

This commit is contained in:
Garry Newman 2017-07-28 17:04:29 +01:00
parent 61268b973e
commit 84954436f7

View File

@ -98,6 +98,7 @@ public bool Reset( string identifier )
private void UserStatsReceived( UserStatsReceived_t stats, bool isError )
{
if ( isError ) return;
if ( stats.GameID != client.AppId ) return;
Refresh();
@ -107,6 +108,7 @@ private void UserStatsReceived( UserStatsReceived_t stats, bool isError )
private void UserStatsStored( UserStatsStored_t stats, bool isError )
{
if ( isError ) return;
if ( stats.GameID != client.AppId ) return;
Refresh();