From 5216856eca7e7ef75a719d6c7de827b1d2925c7d Mon Sep 17 00:00:00 2001 From: Spitfire Date: Mon, 26 Aug 2024 14:39:01 -0600 Subject: [PATCH] Fixed error on achievements --- app/Services/Campaign/AchievementService.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Services/Campaign/AchievementService.php b/app/Services/Campaign/AchievementService.php index 01cc36035a..61accba637 100644 --- a/app/Services/Campaign/AchievementService.php +++ b/app/Services/Campaign/AchievementService.php @@ -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', ], ];