diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt index 366e1ff3b..2dc3ca5a6 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt @@ -130,15 +130,14 @@ class BingoCardDisplay { slot: Int, done: Boolean ): BingoGoal { - var personalGoal = BingoGoal(name, description, slot, done) if (!done) { personalHiddenGoalPattern.matchMatcher(description) { BingoAPI.tips[name]?.let { - personalGoal = BingoGoal(name, it.getDescriptionLine(), slot, false) + return BingoGoal(name, it.getDescriptionLine(), slot, false) } } } - return personalGoal + return BingoGoal(name, description, slot, done) } private fun getCommunityGoal( |