Skip to content

Commit d843b8f

Browse files
committed
Fix the reward npc not showing score for the newest raids
1 parent 9641e68 commit d843b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod_zone_difficulty_scripts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ class mod_zone_difficulty_rewardnpc : public CreatureScript
598598
{
599599
npcText = NPC_TEXT_SCORE;
600600
bool hasAnyScore = false;
601-
for (int i = 1; i <= 16; ++i)
601+
for (int i = 1; i <= TYPE_MAX_TIERS; ++i)
602602
{
603603
if (uint32 score = player->GetPlayerSetting(ModZoneDifficultyString + "score", i).value)
604604
{

0 commit comments

Comments
 (0)