Skip to content

Commit

Permalink
Most accepted fix to red_ribbon_arm so far (vgstation-coders#16482)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloroxygen authored and Pathid committed Dec 17, 2017
1 parent 25c47d0 commit 448311b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/misc_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

/obj/item/red_ribbon_arm/equipped(mob/living/carbon/human/H, equipped_slot)
..()
if(istype(H) && H.get_item_by_slot(slot_belt) == src)
if(istype(H) && H.get_item_by_slot(slot_belt) == src && equipped_slot != null)
H.set_hand_amount(H.held_items.len + 1)

/obj/item/red_ribbon_arm/unequipped(mob/living/carbon/human/user, var/from_slot = null)
Expand Down

0 comments on commit 448311b

Please sign in to comment.