impr: Disable achievement popups if tutorial is skipped

This commit is contained in:
WerWolv 2024-03-28 22:15:48 +01:00
parent 8030de7af2
commit cb1dcc2c9f
1 changed files with 2 additions and 0 deletions

View File

@ -408,6 +408,8 @@ namespace hex::plugin::builtin {
if (backgroundFadeOut >= 1.0F) {
if (tutorialEnabled) {
TutorialManager::startTutorial("hex.builtin.tutorial.introduction");
} else {
ContentRegistry::Settings::write<bool>("hex.builtin.setting.interface", "hex.builtin.setting.interface.achievement_popup", false);
}
TaskManager::doLater([] {