correct checking of Achievements (fixes #107)
This commit is contained in:
parent
9a072b39c3
commit
87baf8f052
2 changed files with 7 additions and 10 deletions
|
|
@ -212,14 +212,11 @@
|
|||
$characters = $this->Characters->getCharactersForGroup($group['id']);
|
||||
foreach($characters as &$character)
|
||||
{
|
||||
if($character['id'] != $this->Auth->getUserId())
|
||||
{
|
||||
$this->Achievement->checkAchievements(
|
||||
$seminary['id'],
|
||||
$character['id'],
|
||||
array('character', 'achievement')
|
||||
);
|
||||
}
|
||||
$this->Achievement->checkAchievements(
|
||||
$seminary['id'],
|
||||
$character['id'],
|
||||
array('character', 'achievement')
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue