fix: BaseEscortable Destination not returned properly. (#1727)

This commit is contained in:
srosellj 2024-04-08 18:12:38 +02:00 • committed by GitHub
parent 389d154576
commit 7ec19cf39a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}
}