mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
WIP(multiassign): resume shared completion implementation
This commit is contained in:
@@ -234,11 +234,6 @@ export default function scoreTask (options = {}, req = {}, analytics) {
|
||||
exp: user.stats.exp,
|
||||
};
|
||||
|
||||
if (
|
||||
task.group && task.group.approval && task.group.approval.required
|
||||
&& !task.group.approval.approved && !(task.type === 'todo' && cron)
|
||||
) return 0;
|
||||
|
||||
// This is for setting one-time temporary flags,
|
||||
// such as streakBonus or itemDropped. Useful for notifying
|
||||
// the API consumer, then cleared afterwards
|
||||
|
||||
Reference in New Issue
Block a user