Skip to content

Commit

Permalink
Revert "feat(Core/Config): add option for LFG expansion (azerothcore#…
Browse files Browse the repository at this point in the history
…7256)"

This reverts commit 1c43e6a.
  • Loading branch information
FrancescoBorzi committed Oct 1, 2021
1 parent 9cc2ede commit e5536bf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/server/game/World/IWorld.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ enum WorldIntConfigs
CONFIG_PRESERVE_CUSTOM_CHANNEL_DURATION,
CONFIG_PERSISTENT_CHARACTER_CLEAN_FLAGS,
CONFIG_LFG_OPTIONSMASK,
CONFIG_LFG_DUNGEON_FINDER_EXPANSION,
CONFIG_MAX_INSTANCES_PER_HOUR,
CONFIG_WINTERGRASP_PLR_MAX,
CONFIG_WINTERGRASP_PLR_MIN,
Expand Down
1 change: 0 additions & 1 deletion src/server/game/World/World.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,6 @@ void World::LoadConfigSettings(bool reload)

// Dungeon finder
m_int_configs[CONFIG_LFG_OPTIONSMASK] = sConfigMgr->GetOption<int32>("DungeonFinder.OptionsMask", 3);
m_int_configs[CONFIG_LFG_DUNGEON_FINDER_EXPANSION] = sConfigMgr->GetOption<int32>("DungeonFinder.Expansion", 2);

// Max instances per hour
m_int_configs[CONFIG_MAX_INSTANCES_PER_HOUR] = sConfigMgr->GetOption<int32>("AccountInstancesPerHour", 5);
Expand Down
10 changes: 0 additions & 10 deletions src/server/worldserver/worldserver.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -1252,16 +1252,6 @@ DeletedCharacterTicketTrace = 0

DungeonFinder.OptionsMask = 1

#
# DungeonFinder.Expansion
# Description: Allow setting which expansion can be used in LFG
# 2 - Wotlk (Default)
# 1 - TBC
# 0 - Classic
# Default: 2

DungeonFinder.Expansion = 2

#
# AccountInstancesPerHour
# Description: Controls the max amount of different instances player can enter within hour
Expand Down

0 comments on commit e5536bf

Please sign in to comment.