]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix unbuckling others when clicking on the strap entity (#29998)
authorShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Wed, 18 Sep 2024 23:55:26 +0000 (16:55 -0700)
committerGitHub <noreply@github.com>
Wed, 18 Sep 2024 23:55:26 +0000 (09:55 +1000)
commitd4a5bc8d6be87a90ee70db4530efa1a0864f177b
tree5a9945e6ffc714bcd750f995d112e1c4a956c8b4
parenta8686b359779c3e2b22318a2a9234b02b489d9aa
Fix unbuckling others when clicking on the strap entity (#29998)

* Add failing unbuckle InteractHand test

* Skip trybuckle if strap doesn't have space

* Unbuckle others not just user

* Fix test failing due to delay

* Change to raise event instead of calling OnInteractHand

* Add test for buckle and unbuckle on InteractHand

* Add tick delay

* Remove unneeded tick delay and clean up

* Comment code

* Cleanup

* Swap to fastest checks first

* Fix reading empty sequence when there are no buckled entities
Content.IntegrationTests/Tests/Buckle/BuckleTest.Interact.cs [new file with mode: 0644]
Content.IntegrationTests/Tests/Buckle/BuckleTest.cs
Content.Shared/Buckle/SharedBuckleSystem.Interaction.cs