fix(Scripts/ZulAman): Permbind players when using the gong (#20554)

This commit is contained in:
Andrew
2024-11-13 23:18:27 -03:00
committed by GitHub
parent 6ae57e232e
commit 14980a91bc

View File

@@ -15,17 +15,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* ScriptData
SDName: Zulaman
SD%Complete: 90
SDComment: Forest Frog will turn into different NPC's. Workaround to prevent new entry from running this script
SDCategory: Zul'Aman
EndScriptData */
/* ContentData
npc_forest_frog
EndContentData */
#include "zulaman.h"
#include "CreatureScript.h"
#include "Player.h"
@@ -429,6 +418,7 @@ struct npc_harrison_jones : public ScriptedAI
{
if (action == ACTION_COMPLETE_EVENT_3)
{
me->GetMap()->ToInstanceMap()->PermBindAllPlayers();
_gongEvent = GONG_EVENT_4;
_gongTimer = 0;
}