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