Automatically enable player settings if SimpleConfigOverride is on

This commit is contained in:
郑佩茹
2022-09-13 19:03:12 -06:00
parent ccbb3f3e9a
commit 66acbbf207
2 changed files with 2 additions and 0 deletions

View File

@@ -169,6 +169,7 @@ IndividualProgression.FishingFix = 1
# Changed options include: # Changed options include:
# Water Breath Timer to 1 Minute (Vanilla value, changed to 3 Minutes in WotLK) # Water Breath Timer to 1 Minute (Vanilla value, changed to 3 Minutes in WotLK)
# Disable Quest Object sparkle and object quest markers (added in patch 2.3) # Disable Quest Object sparkle and object quest markers (added in patch 2.3)
# Enable PlayerSettings (required by Individual Progression module)
# #
# Default: 1 - Enabled # Default: 1 - Enabled
# 0 - Disabled # 0 - Disabled

View File

@@ -226,6 +226,7 @@ public:
sWorld->setIntConfig(CONFIG_WATER_BREATH_TIMER, 60000); sWorld->setIntConfig(CONFIG_WATER_BREATH_TIMER, 60000);
// sWorld->setBoolConfig(CONFIG_OBJECT_QUEST_MARKERS, false); Waiting for PR merge: https://github.com/azerothcore/azerothcore-wotlk/pull/13013 // sWorld->setBoolConfig(CONFIG_OBJECT_QUEST_MARKERS, false); Waiting for PR merge: https://github.com/azerothcore/azerothcore-wotlk/pull/13013
sWorld->setBoolConfig(CONFIG_OBJECT_SPARKLES, false); sWorld->setBoolConfig(CONFIG_OBJECT_SPARKLES, false);
sWorld->setBoolConfig(CONFIG_PLAYER_SETTINGS_ENABLED, true);
} }
} }
}; };