Scripts/CoS: Added SetDespawnAtFar, fixes Arthas despawning if no players are in range
(specially during waves) (cherry picked from commit 0a0e9b196fe3e4db0d807beb17d90895c174ce84)
This commit is contained in:
+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