From c380577156a7d523e68b0b01f9f52f7c67e4820b Mon Sep 17 00:00:00 2001 From: Illiux Date: Fri, 16 Sep 2022 22:15:19 -0700 Subject: [PATCH] Remove unnecessary ToArray() call in Exhale (#11368) --- Content.Server/Body/Systems/RespiratorSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Body/Systems/RespiratorSystem.cs b/Content.Server/Body/Systems/RespiratorSystem.cs index 2b9c1c70fb..989c08b9f3 100644 --- a/Content.Server/Body/Systems/RespiratorSystem.cs +++ b/Content.Server/Body/Systems/RespiratorSystem.cs @@ -126,7 +126,7 @@ namespace Content.Server.Body.Systems if (!Resolve(uid, ref body, false)) return; - var organs = _bodySystem.GetComponentsOnMechanisms(uid, body).ToArray(); + var organs = _bodySystem.GetComponentsOnMechanisms(uid, body); // exhale gas