diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/Mayors.kt | 1 |
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 |