fix: Standardizes the variables for AI (#2234)

This commit is contained in:
Kamron Batman 2025-07-18 17:50:32 -07:00 • committed by GitHub
parent 416e1be735
commit 8f88de68a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 1284 additions and 1287 deletions

View file

@ -2258,7 +2258,7 @@ namespace Server.Mobiles
public void ChangeAIType(AIType newAI)
{
AIObject?.m_Timer.Stop();
AIObject?._timer.Stop();
if (ForcedAI != null)
{
@ -2381,7 +2381,7 @@ namespace Server.Mobiles
{
if (AIObject != null)
{
AIObject.m_Timer?.Stop();
AIObject._timer?.Stop();
AIObject = null;
}