fix: don't touch NemesisAbandonedRewards when spawning a lich #1275
@ -46,7 +46,7 @@ export const nemesisController: RequestHandler = async (req, res) => {
|
||||
}
|
||||
});
|
||||
} else if ((req.query.mode as string) == "s") {
|
||||
const inventory = await getInventory(accountId, "Nemesis NemesisAbandonedRewards");
|
||||
const inventory = await getInventory(accountId, "Nemesis");
|
||||
const body = getJSONfromString<INemesisStartRequest>(String(req.body));
|
||||
body.target.fp = BigInt(body.target.fp);
|
||||
|
||||
@ -100,7 +100,6 @@ export const nemesisController: RequestHandler = async (req, res) => {
|
||||
MissionCount: 0,
|
||||
LastEnc: 0
|
||||
};
|
||||
inventory.NemesisAbandonedRewards = []; // unclear if we need to do this since the client also submits this with missionInventoryUpdate
|
||||
await inventory.save();
|
||||
|
||||
res.json({
|
||||
|
Loading…
x
Reference in New Issue
Block a user