Skip to content

Commit

Permalink
fix(Module/DB): enable DungeonBuff_Player script :/
Browse files Browse the repository at this point in the history
  • Loading branch information
Winfidonarleyan committed Jul 4, 2020
1 parent 252a94b commit 1a0c72e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/mod-dungeon-buff/src/DungeonBuff_SC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class DungeonBuff_Player : public PlayerScript
if (map->IsRaid() || map->Is25ManRaid())
return;

if (player->GetMap()->IsDungeon())
if (map->IsDungeon())
sDB->ApplyBuffs(player);
}
};
Expand All @@ -173,4 +173,5 @@ class DungeonBuff_World : public WorldScript
void AddSC_DungeonBuff()
{
new DungeonBuff_World();
new DungeonBuff_Player();
}

0 comments on commit 1a0c72e

Please sign in to comment.