Added AppId check to Workshop.onItemInstalled, like with onDownloadResult

This commit is contained in:
Rich 2017-07-12 17:17:26 -04:00
parent d53c59f09b
commit a2972098d9

View File

@ -67,7 +67,7 @@ public void Dispose()
private void onItemInstalled( SteamNative.ItemInstalled_t obj, bool failed )
{
if ( OnItemInstalled != null )
if ( OnItemInstalled != null && obj.AppID == Client.Instance.AppId )
OnItemInstalled( obj.PublishedFileId );
}