Some refactoring of code. and some cleanups
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
using Framework.Constants;
|
||||
using Framework.IO;
|
||||
using Game;
|
||||
using Game.AI;
|
||||
using Game.Entities;
|
||||
using Game.Maps;
|
||||
using Game.Network.Packets;
|
||||
@@ -1009,11 +1008,11 @@ namespace Scripts.Northrend.IcecrownCitadel
|
||||
// note: "active" gameobjects do not block grid unloading
|
||||
GameObject precipice = instance.GetGameObject(ArthasPrecipiceGUID);
|
||||
if (precipice)
|
||||
precipice.setActive(state == EncounterState.InProgress);
|
||||
precipice.SetActive(state == EncounterState.InProgress);
|
||||
|
||||
GameObject platform = instance.GetGameObject(ArthasPlatformGUID);
|
||||
if (platform)
|
||||
platform.setActive(state == EncounterState.InProgress);
|
||||
platform.SetActive(state == EncounterState.InProgress);
|
||||
|
||||
if (instance.IsHeroic())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user