713 {
714 string slotNameMounted = slot_name + "_Mounted";
715 EntityAI attachment = FindAttachmentBySlotName(slot_name);
716
717 if (attachment)
718 {
720 if (barbedWire && barbedWire.IsMounted())
722 else
724
725 if (is_locked)
726 {
727 SetAnimationPhase(slotNameMounted, 0);
728 SetAnimationPhase(slot_name, 1);
729 }
730 else
731 {
732 SetAnimationPhase(slotNameMounted, 1);
733 SetAnimationPhase(slot_name, 0);
734 }
735 }
736 else
737 {
738 SetAnimationPhase(slotNameMounted, 1);
739 SetAnimationPhase(slot_name, 1);
740
742 }
743 }