Skip to content

Commit 29782a1

Browse files
committed
Switch Eluna to be multistate by default
1 parent 1c980da commit 29782a1

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

src/server/game/Scripting/ScriptMgr.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,11 +1431,10 @@ void ScriptMgr::OnCreateMap(Map* map)
14311431
if (Eluna* e = map->GetEluna())
14321432
{
14331433
e->OnCreate(map);
1434-
if (map->IsBattleground())
1435-
{
1436-
Battleground* bg = map->ToBattlegroundMap()->GetBG();
1437-
e->OnBGCreate(bg, bg->GetTypeID(), bg->GetInstanceID());
1438-
}
1434+
1435+
if (map->IsBattlegroundOrArena())
1436+
if (Battleground* bg = map->ToBattlegroundMap()->GetBG())
1437+
e->OnBGCreate(bg, bg->GetTypeID(), bg->GetInstanceID());
14391438
}
14401439
#endif
14411440

src/server/worldserver/worldserver.conf.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3915,7 +3915,7 @@ AuctionHouseBot.Buyer.Recheck.Interval = 20
39153915
#
39163916

39173917
Eluna.Enabled = true
3918-
Eluna.CompatibilityMode = true
3918+
Eluna.CompatibilityMode = false
39193919
Eluna.ScriptReloader = false
39203920
Eluna.OnlyOnMaps = ""
39213921
Eluna.TraceBack = false

0 commit comments

Comments
 (0)