mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 21:00:39 +00:00
ACHIEVEMENTS: Allow Disabling Of Unlocked Achievement OSD Using Config Option
The option in the config file to disable this is "disable_achievement_unlocked_osd"
This commit is contained in:
parent
933d7368b3
commit
36c7485b1c
@ -236,7 +236,7 @@ bool AchievementsManager::setAchievement(const String &id) {
|
||||
_iniFile->setKey(id, "achievements", "true");
|
||||
_iniFile->saveToSaveFile(_iniFileName);
|
||||
|
||||
if (!displayedMessage.empty() && g_system) {
|
||||
if (!ConfMan.getBool("disable_achievement_unlocked_osd") && !displayedMessage.empty() && g_system) {
|
||||
U32String msg;
|
||||
msg = Common::U32String::format("%S\n%S",
|
||||
_("Achievement unlocked!").c_str(),
|
||||
|
Loading…
Reference in New Issue
Block a user