mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 22:58:01 +03:00
Added AppId check to Workshop.onItemInstalled, like with onDownloadResult
This commit is contained in:
parent
d53c59f09b
commit
a2972098d9
@ -67,7 +67,7 @@ namespace Facepunch.Steamworks
|
|||||||
|
|
||||||
private void onItemInstalled( SteamNative.ItemInstalled_t obj, bool failed )
|
private void onItemInstalled( SteamNative.ItemInstalled_t obj, bool failed )
|
||||||
{
|
{
|
||||||
if ( OnItemInstalled != null )
|
if ( OnItemInstalled != null && obj.AppID == Client.Instance.AppId )
|
||||||
OnItemInstalled( obj.PublishedFileId );
|
OnItemInstalled( obj.PublishedFileId );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user