mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
This commit is contained in:
@@ -522,7 +522,7 @@ schema.methods._processBossQuest = async function processBossQuest (options) {
|
||||
|
||||
// Everyone takes damage
|
||||
await User.update({
|
||||
_id: {$in: _.keys(group.quest.members)},
|
||||
_id: {$in: _.keys(_.pick(group.quest.members, _.identity))},
|
||||
}, {
|
||||
$inc: {'stats.hp': down},
|
||||
}, {multi: true}).exec();
|
||||
|
||||
Reference in New Issue
Block a user