mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-24 13:45:37 +03:00
Check GameId on achievement callbacks
This commit is contained in:
parent
61268b973e
commit
84954436f7
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user