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)