Core/Arenas: Remove doors in RL, NA and BE when arena has begun

Port From (https://github.com/TrinityCore/TrinityCore/commit/46c0f0d8fe9c9880b7e8cf12b589b06aa757fc80)
This commit is contained in:
hondacrx
2022-01-01 17:52:36 -05:00
parent 7c14a1754a
commit f564667466
4 changed files with 52 additions and 4 deletions
+4 -1
View File
@@ -16,6 +16,7 @@
*/
using Framework.Constants;
using Framework.Dynamic;
using Game.BattleGrounds;
using Game.Entities;
using Game.Guilds;
@@ -26,7 +27,9 @@ using System.Collections.Generic;
namespace Game.Arenas
{
public class Arena : Battleground
{
{
protected TaskScheduler taskScheduler = new();
public Arena(BattlegroundTemplate battlegroundTemplate) : base(battlegroundTemplate)
{
StartDelayTimes[BattlegroundConst.EventIdFirst] = BattlegroundStartTimeIntervals.Delay1m;