diff --git a/src/services/missionInventoryUpdateService.ts b/src/services/missionInventoryUpdateService.ts index d6457f96..5494d232 100644 --- a/src/services/missionInventoryUpdateService.ts +++ b/src/services/missionInventoryUpdateService.ts @@ -363,12 +363,12 @@ export const addMissionInventoryUpdates = async ( break; } case "DeathMarks": { - for (const deathMark of value) { - if (inventory.DeathMarks.indexOf(deathMark) == -1) { + for (const bossName of value) { + if (inventory.DeathMarks.indexOf(bossName) == -1) { // It's a new death mark; we have to say the line. await createMessage(inventory.accountOwnerId, [ { - sub: deathMark, + sub: bossName, sndr: "/Lotus/Language/G1Quests/DeathMarkSender", msg: "/Lotus/Language/G1Quests/DeathMarkMessage", icon: "/Lotus/Interface/Icons/Npcs/Stalker_d.png",