check Achievements when managing Charactergroups
This commit is contained in:
parent
db60917439
commit
5d4e50318f
1 changed files with 4 additions and 1 deletions
|
@ -397,8 +397,11 @@
|
|||
{
|
||||
// Add Characters to group
|
||||
case 'addcharacters':
|
||||
foreach($selectedCharacters as &$characterId) {
|
||||
foreach($selectedCharacters as &$characterId)
|
||||
{
|
||||
$this->Charactergroups->addCharacterToCharactergroup($group['id'], $characterId);
|
||||
// Check Achievements
|
||||
$this->Achievement->checkAchievements($seminary['id'], $characterId, array('character', 'achievement'));
|
||||
}
|
||||
break;
|
||||
// Remove Characters from group
|
||||
|
|
Loading…
Add table
Reference in a new issue