From 0ac16ddcb33fd93052f18f85ec69bf269ed9ac3c Mon Sep 17 00:00:00 2001 From: Bohica <53943479+Bohicatv@users.noreply.github.com> Date: Thu, 5 Mar 2026 19:37:48 -0800 Subject: [PATCH] fix: Fixes timer leak in creature healing (#2349) --- Projects/UOContent/Mobiles/BaseCreature.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Projects/UOContent/Mobiles/BaseCreature.cs b/Projects/UOContent/Mobiles/BaseCreature.cs index df25f0f22..ebb6849ed 100644 --- a/Projects/UOContent/Mobiles/BaseCreature.cs +++ b/Projects/UOContent/Mobiles/BaseCreature.cs @@ -5300,6 +5300,8 @@ namespace Server.Mobiles public virtual void HealStart(Mobile patient) { + StopHeal(); + var onSelf = patient == this; // DoBeneficial( patient ); @@ -5326,12 +5328,13 @@ namespace Server.Mobiles return; } - var onSelf = patient == this; - - if (!patient.Alive) + if (!InRange(patient, HealStartRange)) { + return; } - else if (patient.Poisoned) + + var onSelf = patient == this; + if (patient.Poisoned) { var poisonLevel = patient.Poison.Level;