Skip to content

Commit

Permalink
fix: Update AutoBalance for sLFGDungeonStore changes. (#123)
Browse files Browse the repository at this point in the history
* Update auto balance.

* Rebuild

* Revert rebuild
  • Loading branch information
AnchyDev authored Apr 30, 2023
1 parent 564dbc4 commit beda6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoBalance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void getAreaLevel(Map *map, uint8 areaid, uint8 &min, uint8 &max) {
LFGDungeonEntry const* dungeon = GetLFGDungeon(map->GetId(), map->GetDifficulty());
if (dungeon && (map->IsDungeon() || map->IsRaid())) {
min = dungeon->MinLevel;
max = dungeon->reclevel ? dungeon->reclevel : dungeon->maxlevel;
max = dungeon->TargetLevel ? dungeon->TargetLevel : dungeon->MaxLevel;
}

if (!min && !max)
Expand Down

0 comments on commit beda6e9

Please sign in to comment.