Skip to content

Commit

Permalink
Remove hardcoded demogorgon image
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTipson committed Nov 19, 2023
1 parent a5a04d9 commit afd64b4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build/buildPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ const FuseSurvivor = new Fuse(perks["survivor"], FuseOptions);
let killerImages = new Set(perks.killer.map((x) => x?.characterImage));
killerImages.delete(undefined);
killerImages = [...killerImages];
// Since demogorgon's teachables became common perks, his image won't be on the list
// So sadly, this is hardcoded
killerImages.push("https://static.wikia.nocookie.net/deadbydaylight_gamepedia_en/images/6/6d/K17_charSelect_portrait.png");
killerImages.sort(function (a, b) { return a.split("/").pop().localeCompare(b.split("/").pop(), 'en', { numeric: true }); });
// Hardcode order so huntress comes before the other paid killers
// This is done to reflect the spreadsheet order
Expand Down

0 comments on commit afd64b4

Please sign in to comment.