Don't predict body init (#12163)

* Don't predict body init

Client doesn't handle predicted entity spawning so the organs hang around.

* Just use init

Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth
2022-10-25 11:08:41 +11:00
committed by GitHub
parent 92e92dceb0
commit 70cf361caa
4 changed files with 27 additions and 28 deletions

View File

@@ -7,7 +7,7 @@ namespace Content.Shared.Body.Systems;
public abstract partial class SharedBodySystem : EntitySystem
{
private const string BodyContainerId = "BodyContainer";
protected const string BodyContainerId = "BodyContainer";
[Dependency] protected readonly IPrototypeManager Prototypes = default!;