remove needless lambda
All checks were successful
Build / build (push) Successful in 1m31s
Build / build (pull_request) Successful in 1m2s

This commit is contained in:
Sainan 2025-04-23 03:29:23 +02:00
parent ad2e13c1a8
commit ed21f45491

View File

@ -709,7 +709,7 @@ export const addMissionRewards = async (
const conquestType = rewardInfo.ConquestType;
const conquestNode =
conquestType == "HexConquest" ? "EchoesHexConquestHardModeUnlocked" : "EntratiLabConquestHardModeUnlocked";
if (score >= 25 && inventory.NodeIntrosCompleted.find(x => x == conquestNode) === undefined)
if (score >= 25 && inventory.NodeIntrosCompleted.indexOf(conquestNode) == -1)
inventory.NodeIntrosCompleted.push(conquestNode);
if (conquestType == "HexConquest") {