Remove unnecessary ToArray() call in Exhale (#11368)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user