From 2890b70add4764cee89317d0f913829846fec728 Mon Sep 17 00:00:00 2001 From: Alexander Corn Date: Sun, 20 Sep 2015 00:33:24 -0400 Subject: [PATCH] Actually fixed the previous issue --- classes/CSteamUser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/CSteamUser.js b/classes/CSteamUser.js index 046acfa..d6dc554 100644 --- a/classes/CSteamUser.js +++ b/classes/CSteamUser.js @@ -43,6 +43,7 @@ SteamCommunity.prototype.getSteamUser = function(id, callback) { if(!result.profile.steamID64 || !result.profile.onlineState) { callback(new Error("No valid response")); + return; } callback(null, new CSteamUser(self, result.profile, customurl));