Remove unnecessary ToArray() call in Exhale (#11368)

This commit is contained in:
Illiux
2022-09-16 22:15:19 -07:00
committed by GitHub
parent 576441214b
commit c380577156

View File

@@ -126,7 +126,7 @@ namespace Content.Server.Body.Systems
if (!Resolve(uid, ref body, false))
return;
var organs = _bodySystem.GetComponentsOnMechanisms<LungComponent>(uid, body).ToArray();
var organs = _bodySystem.GetComponentsOnMechanisms<LungComponent>(uid, body);
// exhale gas