aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/Mayors.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/Mayors.kt b/src/main/java/at/hannibal2/skyhanni/data/Mayors.kt
index 78647944c..335648dc5 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/Mayors.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/Mayors.kt
@@ -146,6 +146,7 @@ enum class Mayor(
fun Mayor.addPerks(perks: List<Perk>) {
perks.forEach { it.isActive = false }
+ activePerks.forEach { it.isActive = false }
activePerks.clear()
for (perk in perks.filter { perks.contains(it) }) {
perk.isActive = true