Use Uid for standingstate methods (#4856)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user