Fix - Players with no pfp (as opposed to default pfp) will no longer crash the app.

This commit is contained in:
BubbaGumpShrump 2024-12-08 17:18:34 -05:00
parent 2f142c8c1a
commit 80f2c0d442

View file

@ -266,7 +266,7 @@ function Read-LogEntry {
if ($page1.images[0].src -like "/media/*") {
$victimPFP = "https://robertsspaceindustries.com$($page1.images[0].src)"
} Else {
$victimPFP = $page1.images[0].src
$victimPFP = "https://cdn.robertsspaceindustries.com/static/images/account/avatar_default_big.jpg"
}
$global:killTally++