Update GetComponents for IEnumerable (#18395)

This commit is contained in:
metalgearsloth
2023-07-30 03:34:41 +10:00
committed by GitHub
parent 20dd10388c
commit d4a85afb88
5 changed files with 15 additions and 15 deletions

View File

@@ -33,9 +33,8 @@ namespace Content.Server.Administration.Commands
var i = 0;
foreach (var component in components)
foreach (var (uid, component) in components)
{
var uid = component.Owner;
entityManager.RemoveComponent(uid, component);
i++;
}