Merge pull request #19090 from lzimann/patch-12

Shoes drop held items properly when your hands are full
This commit is contained in:
oranges
2016-07-04 14:07:03 +12:00
committed by GitHub
+1 -1
View File
@@ -257,8 +257,8 @@ BLIND // can't see anything
return
if(!user.put_in_hands(held_item))
user << "<span class='notice'>You fumble for [held_item] and it falls on the floor.</span>"
return 1
held_item = null
return
user.visible_message("<span class='warning'>[user] draws [held_item] from their shoes!</span>", "<span class='notice'>You draw [held_item] from [src].</span>")
held_item = null