Fix buckle not working

This commit is contained in:
Vera Aguilera Puerto
2021-05-22 13:53:51 +02:00
parent 2eea2a8f4e
commit bf1fce006f

View File

@@ -256,11 +256,12 @@ namespace Content.Server.GameObjects.Components.Buckle
Appearance?.SetData(BuckleVisuals.Buckled, true);
ReAttach(strap);
BuckledTo = strap;
LastEntityBuckledTo = BuckledTo.Owner.Uid;
DontCollide = true;
ReAttach(strap);
UpdateBuckleStatus();
SendMessage(new BuckleMessage(Owner, to));