From 7d91e34d6a91bc01b5748a8da65f437107495599 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Fri, 25 Mar 2022 09:52:59 +1100 Subject: [PATCH] Reduce decal allocs 2 (#7229) --- Content.Server/Decals/DecalSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Decals/DecalSystem.cs b/Content.Server/Decals/DecalSystem.cs index 242cbb8cd7..912108ebc6 100644 --- a/Content.Server/Decals/DecalSystem.cs +++ b/Content.Server/Decals/DecalSystem.cs @@ -311,7 +311,7 @@ namespace Content.Server.Decals base.Update(frameTime); - foreach (var session in Filter.Broadcast().Recipients) + foreach (var session in Filter.GetAllPlayers(_playerManager)) { if (session is not IPlayerSession { Status: SessionStatus.InGame } playerSession) continue;