Fix climbing and bonking simultaneously (#27268)

* Properly network ClumsyComponent

* Fix being able to climb and bonk at the same time.
Also properly subscribe to AttemptClimbEvent by-ref.

* Update Content.Shared/Interaction/Components/ClumsyComponent.cs
This commit is contained in:
Tayrtahn
2024-04-24 09:02:43 -04:00
committed by GitHub
parent 91aa16f08a
commit 480d26aba6
3 changed files with 23 additions and 21 deletions

View File

@@ -222,7 +222,8 @@ public sealed partial class ClimbSystem : VirtualController
used: entityToMove)
{
BreakOnMove = true,
BreakOnDamage = true
BreakOnDamage = true,
DuplicateCondition = DuplicateConditions.SameTool | DuplicateConditions.SameTarget
};
_audio.PlayPredicted(comp.StartClimbSound, climbable, user);