aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-09-07 06:30:38 +0200
committerGitHub <noreply@github.com>2024-09-07 06:30:38 +0200
commiteb21cf130d57de5f2169fba3e27a2e747c32552e (patch)
tree1a995b199c26fa276004b3d315b1f01336042eac /src/main/java/at
parent77582eb87f9dd094995feee516ef193ca3e176e7 (diff)
downloadskyhanni-eb21cf130d57de5f2169fba3e27a2e747c32552e.tar.gz
skyhanni-eb21cf130d57de5f2169fba3e27a2e747c32552e.tar.bz2
skyhanni-eb21cf130d57de5f2169fba3e27a2e747c32552e.zip
Fix: Minister not resetting (#2467)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/MayorAPI.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/MayorAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/MayorAPI.kt
index af60519f6..a8024ea36 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/MayorAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/MayorAPI.kt
@@ -152,6 +152,7 @@ object MayorAPI {
if (electionOverPattern.matches(event.message)) {
lastMayor = currentMayor
currentMayor = Mayor.UNKNOWN
+ currentMinister = null
}
}