Skip to content

Commit

Permalink
Merge pull request #957 from owlchester/achievements-bug
Browse files Browse the repository at this point in the history
Fixed error on achievements
  • Loading branch information
ilestis authored Aug 26, 2024
2 parents 46878b4 + 5216856 commit 14cbb4d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/Services/Campaign/AchievementService.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,22 +116,22 @@ public function stats(): array|false
'plugins' => [
'icon' => 'fa-duotone fa-store',
'amount' => $plugins,
'target' => $this->target($tags, 3),
'level' => $this->level($tags, 3),
'target' => $this->target($plugins, 3),
'level' => $this->level($plugins, 3),
'history' => 'plugins',
],
'markers' => [
'icon' => 'fa-duotone fa-map-location',
'amount' => $markers,
'target' => $this->target($tags, 2),
'level' => $this->level($tags, 2),
'target' => $this->target($markers, 2),
'level' => $this->level($markers, 2),
'history' => 'markers',
],
'connections' => [
'icon' => 'fa-duotone fa-heart',
'amount' => $connections,
'target' => $this->target($tags, 2),
'level' => $this->level($tags, 2),
'target' => $this->target($connections, 2),
'level' => $this->level($connections, 2),
'history' => 'connections',
],
];
Expand Down

0 comments on commit 14cbb4d

Please sign in to comment.