Alters an unEquip() conditional in Give().

This commit is contained in:
Zuhayr
2015-12-05 00:49:35 +10:30
parent 398541f4eb
commit 834f86241a

View File

@@ -37,6 +37,6 @@
usr << "<span class='warning'>Their hands are full.</span>"
return
usr.unEquip(I)
target.put_in_hands(I) // If this fails it will just end up on the floor, but that's fitting for things like dionaea.
target.visible_message("<span class='notice'>\The [usr] handed \the [I] to \the [target].</span>")
if(usr.unEquip(I))
target.put_in_hands(I) // If this fails it will just end up on the floor, but that's fitting for things like dionaea.
target.visible_message("<span class='notice'>\The [usr] handed \the [I] to \the [target].</span>")