mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2024-12-29 16:10:12 +08:00
Fix CSteamUser constructor
This commit is contained in:
parent
10d899f7a7
commit
5853968661
@ -98,7 +98,7 @@ function CSteamUser(community, userData, customurl) {
|
||||
});
|
||||
}
|
||||
|
||||
function processItem(name, defaultVal) {
|
||||
function processItem(userData, name, defaultVal) {
|
||||
if(!userData[name]) {
|
||||
return defaultVal;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user