Fix getInventory issue

This commit is contained in:
Joris 2015-10-04 23:28:40 +02:00
parent 5853968661
commit cd68841d1d

View File

@ -157,5 +157,5 @@ CSteamUser.prototype.getInventoryContexts = function(callback) {
};
CSteamUser.prototype.getInventory = function(appID, contextID, tradableOnly, callback) {
this._community.getInventory(appID, contextID, tradableOnly, callback);
this._community.getUserInventory(this.steamID, appID, contextID, tradableOnly, callback);
};