1
0
mirror of synced 2024-11-12 10:10:53 +01:00

fix: "About ... that much" achievement not triggering correctly

This commit is contained in:
WerWolv 2023-09-12 22:24:12 +02:00
parent da18428f27
commit 1a2a926b77

View File

@ -447,7 +447,7 @@ namespace hex::plugin::builtin {
AchievementManager::unlockAchievement("hex.builtin.achievement.find", "hex.builtin.achievement.find.find_specific_string.name");
else if (this->m_searchSettings.mode == SearchSettings::Mode::Value) {
if (this->m_searchSettings.value.inputMin == "250" && this->m_searchSettings.value.inputMax == "1000")
AchievementManager::unlockAchievement("hex.builtin.achievement.find", "hex.builtin.achievement.find.find_specific_string.name");
AchievementManager::unlockAchievement("hex.builtin.achievement.find", "hex.builtin.achievement.find.find_numeric.name");
}
this->m_occurrenceTree->clear();