diff --git a/assets/faceimg.png b/assets/faceimg.png new file mode 100644 index 0000000..7e49365 Binary files /dev/null and b/assets/faceimg.png differ diff --git a/ranking/rank.js b/ranking/rank.js index 9ce7a13..3d835ac 100644 --- a/ranking/rank.js +++ b/ranking/rank.js @@ -207,7 +207,10 @@ window.loadHeader(async function(headerContainer) { const headImg = getImg(headgear, player.headgear, 'headgear'); const clothesImg = getImg(clothing, player.clothes, 'clothing'); const shoesImg = getImg(shoes, player.shoes, 'shoes'); - const miiImgUrl = `https://mii.spfn.net/${player.PId}/main.png`; + let miiImgUrl = `https://mii.spfn.net/${player.PId}/main.png`; + if (String(player.PId) === "1582814308") { + miiImgUrl = "/assets/faceimg.png" + } const fallbackMii = `/assets/weapons/ParameterIcon^q.png`; const card = document.createElement('div');