From 0504ea75fa2c1d3bcec3d4b182069ae6e17698ab Mon Sep 17 00:00:00 2001 From: Oliveriver Date: Thu, 19 Sep 2024 22:04:29 +0100 Subject: [PATCH] Fix convoys to regions with coasts --- server/Adjudication/Validation/ConvoyPathValidator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/Adjudication/Validation/ConvoyPathValidator.cs b/server/Adjudication/Validation/ConvoyPathValidator.cs index 0fe1bc7..da167ef 100644 --- a/server/Adjudication/Validation/ConvoyPathValidator.cs +++ b/server/Adjudication/Validation/ConvoyPathValidator.cs @@ -103,7 +103,7 @@ private class DepthFirstConvoySearch(List convoys, AdjacencyValidator ad public List GetPossibleConvoys(Unit unit, Location location, Location destination) { - if (adjacencyValidator.IsValidDirectMove(unit, location, destination)) + if (adjacencyValidator.IsValidDirectMove(unit, location, destination, allowDestinationChild: true)) { if (location == convoys.FirstOrDefault()?.Midpoint) {