From a410d19d21d49836b10f1f179fa8c94b3de8613b Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Thu, 17 Nov 2022 01:58:55 +0100 Subject: [PATCH] Fix body root being null on the client after init (#12638) --- Content.Shared/Body/Systems/SharedBodySystem.Body.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Shared/Body/Systems/SharedBodySystem.Body.cs b/Content.Shared/Body/Systems/SharedBodySystem.Body.cs index 593b54e271..60a8739683 100644 --- a/Content.Shared/Body/Systems/SharedBodySystem.Body.cs +++ b/Content.Shared/Body/Systems/SharedBodySystem.Body.cs @@ -28,6 +28,7 @@ public partial class SharedBodySystem var prototype = Prototypes.Index(body.Prototype); InitBody(body, prototype); + Dirty(body); // Client doesn't actually spawn the body, need to sync it } private void OnBodyGetState(EntityUid uid, BodyComponent body, ref ComponentGetState args)