Fixes UpdateObject packets

This commit is contained in:
Hondacrx
2024-11-17 22:12:44 -05:00
parent 681178ecc7
commit afe054f3e9
4 changed files with 24 additions and 77 deletions
+1 -1
View File
@@ -4272,7 +4272,7 @@ namespace Game.AI
return false;
bool smart = true;
if (creature.GetAI<SmartAI>() == null)
if (creature.GetAI() is not SmartAI || creature.GetAI<SmartAI>() == null)
smart = false;
if (!smart && !silent)