mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Added AppId check to Workshop.onItemInstalled, like with onDownloadResult
This commit is contained in:
parent
d53c59f09b
commit
a2972098d9
@ -67,7 +67,7 @@ public void Dispose()
|
|||||||
|
|
||||||
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…
Reference in New Issue
Block a user