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

@@ -14,7 +14,7 @@ namespace Content.Shared.MobState.State
public override void EnterState(IEntity entity)
{
base.EnterState(entity);
EntitySystem.Get<StandingStateSystem>().Stand(entity);
EntitySystem.Get<StandingStateSystem>().Stand(entity.Uid);
if (entity.TryGetComponent(out SharedAppearanceComponent? appearance))
{