steamutils 1.0.7 → 1.0.8
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 +2 -2
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -356,7 +356,7 @@ function SteamClient({
|
|
356
356
|
.map(p => SteamID.fromIndividualAccountID(p.id).getSteamID64())
|
357
357
|
const personas = await getPersonas(steamIDs)
|
358
358
|
//{
|
359
|
-
// "id": "
|
359
|
+
// "id": "76561199265943339",
|
360
360
|
// "rich_presence": [],
|
361
361
|
// "persona_state": null,
|
362
362
|
// "game_played_app_id": null,
|
@@ -396,7 +396,7 @@ function SteamClient({
|
|
396
396
|
const prime = player.apr === 1 ? 'PRIME' : 'NON-PRIME'
|
397
397
|
const loc = LOCS[player.loc] || player.loc
|
398
398
|
const steamID = SteamID.fromIndividualAccountID(player.id).getSteamID64()
|
399
|
-
const persona = personas.find(p => p.id ==
|
399
|
+
const persona = personas.find(p => p.id == steamID)
|
400
400
|
const friendCode = FriendCode.encode(steamID)
|
401
401
|
|
402
402
|
if ((LOCS[player.loc] == 'VN' || !LOCS[player.loc])) {
|