steamutils 1.2.55 → 1.2.57
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +5 -5
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -76,9 +76,9 @@ export const LOCS = {
|
|
76
76
|
const appid = 730
|
77
77
|
let CSGO_VER = 13952
|
78
78
|
|
79
|
-
SteamUtils.GetCurrentVersion(appid).then(function (ver) {
|
80
|
-
|
81
|
-
})
|
79
|
+
// SteamUtils.GetCurrentVersion(appid).then(function (ver) {
|
80
|
+
// CSGO_VER = ver
|
81
|
+
// })
|
82
82
|
|
83
83
|
const PersonasCache = []
|
84
84
|
|
@@ -874,7 +874,7 @@ function SteamClient({
|
|
874
874
|
const persona = personas.find(p => p.id == steamId)
|
875
875
|
const friendCode = FriendCode.encode(steamId)
|
876
876
|
|
877
|
-
if ((LOCS[player.loc] == 'VN' || !LOCS[player.loc])) {
|
877
|
+
// if ((LOCS[player.loc] == 'VN' || !LOCS[player.loc])) {
|
878
878
|
players.push({
|
879
879
|
prime,
|
880
880
|
player_name: persona.player_name,
|
@@ -884,7 +884,7 @@ function SteamClient({
|
|
884
884
|
friendCode,
|
885
885
|
avatar_hash: persona.avatar_hash,
|
886
886
|
})
|
887
|
-
}
|
887
|
+
// }
|
888
888
|
} catch (e) {
|
889
889
|
}
|
890
890
|
}
|