Scripts/CoS: Added SetDespawnAtFar, fixes Arthas despawning if no players are in range
(specially during waves)
This commit is contained in:
1 parent
3236f1641c
commit
0a0e9b196f
1 file changed
+1
+1
@@ -292,6 +292,7 @@ public:
|
||||
break;
|
||||
}
|
||||
player->CLOSE_GOSSIP_MENU();
|
||||
ai->SetDespawnAtFar(false);
|
||||
creature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user