steamutils 1.0.75 → 1.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SteamClient.js +9 -1
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -274,7 +274,7 @@ function SteamClient({
|
|
274
274
|
}
|
275
275
|
ownedApps.length = Math.min(ownedApps.length, 30)
|
276
276
|
_.remove(ownedApps, 730)
|
277
|
-
|
277
|
+
gamesPlayed([...ownedApps, 730])
|
278
278
|
}
|
279
279
|
|
280
280
|
async function autoGamePlay() {
|
@@ -1127,6 +1127,14 @@ function SteamClient({
|
|
1127
1127
|
gamePlay,
|
1128
1128
|
autoGamePlay,
|
1129
1129
|
offAutoGamePlay,
|
1130
|
+
setIsPartyRegister(_isPartyRegister){
|
1131
|
+
isPartyRegister = _isPartyRegister
|
1132
|
+
if (!_isPartyRegister) {
|
1133
|
+
doClearInterval('autoPartyRegister')
|
1134
|
+
} else {
|
1135
|
+
sendHello()
|
1136
|
+
}
|
1137
|
+
},
|
1130
1138
|
}
|
1131
1139
|
}
|
1132
1140
|
|