put_in_hands instead of the other check

This commit is contained in:
joep van der velden
2020-01-10 13:00:32 +01:00
parent c7c5b5a899
commit 821d00f04c
+1 -2
View File
@@ -1349,8 +1349,7 @@ About the new airlock wires panel:
else
user.visible_message("<span class='notice'>[user] cuts down [note] from [src].</span>", "<span class='notice'>You remove [note] from [src].</span>")
playsound(src, 'sound/items/wirecutter.ogg', 50, 1)
if(!user.put_in_active_hand(note) && !user.put_in_inactive_hand(note))
note.forceMove(get_turf(user))
user.put_in_hands(note)
note = null
update_icon()
return TRUE