From e2d11c031b6bbc0b9492ca7b8225a98a1175244a Mon Sep 17 00:00:00 2001 From: "s0wlz (Matthias Puchstein)" Date: Wed, 11 Feb 2026 00:22:57 +0100 Subject: [PATCH] Respect sink enabled flag for boundary ghost outflow --- Assets/Scripts/Networking/Server/SweServerRuntime.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Assets/Scripts/Networking/Server/SweServerRuntime.cs b/Assets/Scripts/Networking/Server/SweServerRuntime.cs index 04de497b4..8db30f212 100644 --- a/Assets/Scripts/Networking/Server/SweServerRuntime.cs +++ b/Assets/Scripts/Networking/Server/SweServerRuntime.cs @@ -800,6 +800,13 @@ namespace FloodSWE.Networking continue; } + if (!TryResolveBoundaryProfile("sink", boundaryId, out SweBoundaryProfile sinkProfile) || + sinkProfile == null || + !sinkProfile.enabled) + { + continue; + } + boundarySinkIdsWithGhostOutflow.Add(boundaryId); int[] cells = pair.Value; if (cells == null || cells.Length == 0)