Dungeon completion was triggered after the count of number of runs
instead of before allowing users to get 1 extra run in.
});
}
+ await completeDungeon(req.player.id);
// if this is not the first completion, lets give them diminishing returns
const completionsToday = await getEventHistoryToday(req.player.id, 'DUNGEON_COMPLETE');
}
// delete the tracking for this dungeon-run
- await completeDungeon(req.player.id);
await updatePlayer(req.player);
res.send(dungeonRewards(dungeon, rewards, completionsToday.length));