From 67c42ecacdd9dee4f7cf24fa0aa77ea4409dc460 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Fri, 25 Mar 2022 18:44:39 +1100 Subject: [PATCH] Return another dict to decal pool (#7269) --- Content.Server/Decals/DecalSystem.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Content.Server/Decals/DecalSystem.cs b/Content.Server/Decals/DecalSystem.cs index 98c10b1529..40e0c9e356 100644 --- a/Content.Server/Decals/DecalSystem.cs +++ b/Content.Server/Decals/DecalSystem.cs @@ -334,7 +334,10 @@ namespace Content.Server.Decals } if (newChunks.Count == 0) + { + _chunkIndexPool.Return(newChunks); continue; + } updatedChunks[gridId] = newChunks; }