86 {
87 PlayerBase player = PlayerBase.Cast(action_data.
m_Player);
89
90 if (item_in_hands)
91 {
92 if (item_in_hands.IsInherited(BarbedWireLocked))
93 {
94 int randNum = Math.RandomInt(0, 3);
95 player.m_BleedingManagerServer.AttemptAddBleedingSourceBySelection(PlayerBase.m_BleedingSourcesUp[randNum]);
96 }
97 player.SetRestrained(false);
98 item_in_hands.AddHealth(-GameConstants.CLEAN_UNRESTRAIN_DAMAGE);
100 MiscGameplayFunctions.TransformRestrainItem(item_in_hands, null, null, player);
101
102
103 }
104 }
void ClearInventoryReservationEx(ActionData action_data)