Fix not standing up after getting off of a bed

This commit is contained in:
DrSmugleaf
2020-07-04 13:44:32 +02:00
parent 45211a2f0b
commit 2691d34d5c

View File

@@ -148,8 +148,6 @@ namespace Content.Server.GameObjects.Components.Mobs
return false;
}
BuckledTo = strap;
if (Owner.TryGetComponent(out AppearanceComponent appearance))
{
appearance.SetData(BuckleVisuals.Buckled, true);
@@ -176,6 +174,7 @@ namespace Content.Server.GameObjects.Components.Mobs
break;
}
BuckledTo = strap;
BuckleStatus();
return true;