From 7ec19cf39a9c912ce3018fad02d1db8e6f70711c Mon Sep 17 00:00:00 2001 From: srosellj <50594106+srosellj@users.noreply.github.com> Date: Mon, 8 Apr 2024 18:12:38 +0200 Subject: [PATCH] fix: BaseEscortable Destination not returned properly. (#1727) --- Projects/UOContent/Mobiles/Townfolk/BaseEscortable.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Projects/UOContent/Mobiles/Townfolk/BaseEscortable.cs b/Projects/UOContent/Mobiles/Townfolk/BaseEscortable.cs index a4b7b67eb..056e24963 100644 --- a/Projects/UOContent/Mobiles/Townfolk/BaseEscortable.cs +++ b/Projects/UOContent/Mobiles/Townfolk/BaseEscortable.cs @@ -819,6 +819,8 @@ public partial class BaseEscortable : BaseCreature _destinationString = null; return null; } + + return _destination; } // Destination is invalid, so set it to null and return. @@ -881,7 +883,7 @@ public class EscortDestinationInfo if (!validTown) { - logger.Error( "No valid escort destinations found. Please check {TownNames}.", townNamesVariable); + logger.Error("No valid escort destinations found. Please check {TownNames}.", townNamesVariable); } }