mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 14:48:02 +03:00
Check GameId on achievement callbacks
This commit is contained in:
parent
61268b973e
commit
84954436f7
@ -98,6 +98,7 @@ namespace Facepunch.Steamworks
|
|||||||
private void UserStatsReceived( UserStatsReceived_t stats, bool isError )
|
private void UserStatsReceived( UserStatsReceived_t stats, bool isError )
|
||||||
{
|
{
|
||||||
if ( isError ) return;
|
if ( isError ) return;
|
||||||
|
if ( stats.GameID != client.AppId ) return;
|
||||||
|
|
||||||
Refresh();
|
Refresh();
|
||||||
|
|
||||||
@ -107,6 +108,7 @@ namespace Facepunch.Steamworks
|
|||||||
private void UserStatsStored( UserStatsStored_t stats, bool isError )
|
private void UserStatsStored( UserStatsStored_t stats, bool isError )
|
||||||
{
|
{
|
||||||
if ( isError ) return;
|
if ( isError ) return;
|
||||||
|
if ( stats.GameID != client.AppId ) return;
|
||||||
|
|
||||||
Refresh();
|
Refresh();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user