Reduce decal allocs 2 (#7229)
This commit is contained in:
@@ -311,7 +311,7 @@ namespace Content.Server.Decals
|
|||||||
base.Update(frameTime);
|
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)
|
if (session is not IPlayerSession { Status: SessionStatus.InGame } playerSession)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user