fix: set deathmark message title to the boss' name #1533

Merged
Sainan merged 3 commits from deathmark-title into main 2025-04-10 07:16:07 -07:00
Showing only changes of commit de30ac4f33 - Show all commits

View File

@ -364,7 +364,7 @@ export const addMissionInventoryUpdates = async (
} }
case "DeathMarks": { case "DeathMarks": {
for (const deathMark of value) { for (const deathMark of value) {
if (!inventory.DeathMarks.find(x => x == deathMark)) { if (inventory.DeathMarks.indexOf(deathMark) == -1) {
// It's a new death mark; we have to say the line. // It's a new death mark; we have to say the line.
await createMessage(inventory.accountOwnerId, [ await createMessage(inventory.accountOwnerId, [
{ {