mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-09 11:45:18 -05:00
Some more fixing of processing leveling correctly and challenge processing adding the progress to the wrong user.
This commit is contained in:
@@ -90,9 +90,9 @@ public function executeChallengeProgressionBatch(ExecuteChallengeProgressionBatc
|
||||
continue;
|
||||
|
||||
if($operation['operationName'] === 'complete')
|
||||
$this->setChallengeAsCompleted($challengeId, $user);
|
||||
$this->setChallengeAsCompleted($challengeId, $progressUser);
|
||||
else
|
||||
$this->addProgressToChallenge($challengeId, round($operation['operationData']['value']), $user);
|
||||
$this->addProgressToChallenge($challengeId, round($operation['operationData']['value']), $progressUser);
|
||||
$processedChallenges[] = $challengeId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user