improve variable name
All checks were successful
Build / build (push) Successful in 44s
Build / build (pull_request) Successful in 1m19s

This commit is contained in:
Sainan 2025-04-09 23:21:58 +02:00
parent de30ac4f33
commit 83e42c408e

View File

@ -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",