fix: Kaboom achievement not triggering
This commit is contained in:
parent
384c2a7701
commit
66cac8350e
@ -5,6 +5,8 @@
|
|||||||
"fallback": true,
|
"fallback": true,
|
||||||
"translations": {
|
"translations": {
|
||||||
"hex.builtin.achievement.starting_out": "Starting out",
|
"hex.builtin.achievement.starting_out": "Starting out",
|
||||||
|
"hex.builtin.achievement.starting_out.crash.name": "Yes Rico, Kaboom!",
|
||||||
|
"hex.builtin.achievement.starting_out.crash.desc": "Crash ImHex for the first time.",
|
||||||
"hex.builtin.achievement.starting_out.docs.name": "RTFM",
|
"hex.builtin.achievement.starting_out.docs.name": "RTFM",
|
||||||
"hex.builtin.achievement.starting_out.docs.desc": "Open the documentation by selecting Help -> Documentation from the menu bar.",
|
"hex.builtin.achievement.starting_out.docs.desc": "Open the documentation by selecting Help -> Documentation from the menu bar.",
|
||||||
"hex.builtin.achievement.starting_out.open_file.name": "The inner workings",
|
"hex.builtin.achievement.starting_out.open_file.name": "The inner workings",
|
||||||
|
@ -542,7 +542,9 @@ namespace hex::plugin::builtin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hasCrashed) {
|
if (hasCrashed) {
|
||||||
AchievementManager::unlockAchievement("hex.builtin.achievement.starting_out", "hex.builtin.achievement.starting_out.crash.name");
|
TaskManager::doLater([]{
|
||||||
|
AchievementManager::unlockAchievement("hex.builtin.achievement.starting_out", "hex.builtin.achievement.starting_out.crash.name");
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user