From c00ef3b5faf90c9e2f2a3a0992ebe8665f321d76 Mon Sep 17 00:00:00 2001 From: BarryNorfolk Date: Fri, 17 Jan 2025 17:35:38 +0100 Subject: [PATCH] Use required number of legs to determine if standing fails --- Content.Shared/Body/Systems/SharedBodySystem.Body.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Body/Systems/SharedBodySystem.Body.cs b/Content.Shared/Body/Systems/SharedBodySystem.Body.cs index f3361872701..bf69f1b8b14 100644 --- a/Content.Shared/Body/Systems/SharedBodySystem.Body.cs +++ b/Content.Shared/Body/Systems/SharedBodySystem.Body.cs @@ -462,7 +462,7 @@ private void OnProfileLoadFinished(EntityUid uid, BodyComponent component, Profi private void OnStandAttempt(Entity ent, ref StandAttemptEvent args) { - if (ent.Comp.LegEntities.Count == 0) + if (ent.Comp.LegEntities.Count != ent.Comp.RequiredLegs) // DeltaV args.Cancel(); }