Use Uid for standingstate methods (#4856)

This commit is contained in:
metalgearsloth
2021-10-13 18:58:18 +11:00
committed by GitHub
parent 60da7aeb8d
commit 2f3914e01e
10 changed files with 15 additions and 35 deletions

View File

@@ -186,7 +186,7 @@ namespace Content.Shared.Body.Components
if (part.PartType == BodyPartType.Leg &&
GetPartsOfType(BodyPartType.Leg).ToArray().Length == 0)
{
EntitySystem.Get<StandingStateSystem>().Down(Owner);
EntitySystem.Get<StandingStateSystem>().Down(Owner.Uid);
}
if (part.IsVital && SlotParts.Count(x => x.Value.PartType == part.PartType) == 0)