steamutils 1.1.9 → 1.1.10
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +2 -2
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -592,8 +592,8 @@ function SteamClient({
|
|
592
592
|
const prime = player.apr === 1 ? 'PRIME' : 'NON-PRIME'
|
593
593
|
const loc = LOCS[player.loc] || player.loc
|
594
594
|
const steamId = SteamID.fromIndividualAccountID(player.id).getSteamID64()
|
595
|
-
const persona = personas.find(p => p.id ==
|
596
|
-
const friendCode = FriendCode.encode(
|
595
|
+
const persona = personas.find(p => p.id == steamId)
|
596
|
+
const friendCode = FriendCode.encode(steamId)
|
597
597
|
|
598
598
|
if ((LOCS[player.loc] == 'VN' || !LOCS[player.loc])) {
|
599
599
|
players.push({
|