From 925119c2ca1e0f329461fcc5d15dbd375d6217b2 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 24 Dec 2021 20:16:01 -0500 Subject: [PATCH] AI/SmartAI: Properly forward to inherited CreatureAI::JustAppeared in SmartAI::JustAppeared. Port From (https://github.com/TrinityCore/TrinityCore/commit/743d022cee936d47a60f23e72fda7fb72ee61907) --- Source/Game/AI/SmartScripts/SmartAI.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Game/AI/SmartScripts/SmartAI.cs b/Source/Game/AI/SmartScripts/SmartAI.cs index 5f88fcd6d..e9e7ee1e4 100644 --- a/Source/Game/AI/SmartScripts/SmartAI.cs +++ b/Source/Game/AI/SmartScripts/SmartAI.cs @@ -579,6 +579,8 @@ namespace Game.AI public override void JustAppeared() { + base.JustAppeared(); + if (me.IsDead()) return;