Core/Battlegrounds: Made Battleground inherit ZoneScript
Port From (https://github.com/TrinityCore/TrinityCore/commit/21940405e009f5c1d201eb96d96ea251a3313af3)
This commit is contained in:
@@ -70,9 +70,6 @@ namespace Game
|
||||
|
||||
public static void TriggerForMap(uint gameEventId, Map map, WorldObject source = null, WorldObject target = null)
|
||||
{
|
||||
BattlegroundMap bgMap = map.ToBattlegroundMap();
|
||||
if (bgMap != null)
|
||||
bgMap.GetBG().ProcessEvent(target, gameEventId, source);
|
||||
map.ScriptsStart(ScriptsType.Event, gameEventId, source, target);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user