Fixed alt-click not working with stacks (#34396)

* Can disable auto-merge

New argument which lets you stop stacks from automatically merging when picking them up

* Fix 0 stacks

* Updated simple_animal/put_in_hands()
This commit is contained in:
John Ginnane
2018-01-15 04:04:18 +00:00
committed by CitadelStationBot
parent 969a8ac9ef
commit ac1b2f76ef
3 changed files with 17 additions and 13 deletions
+1 -1
View File
@@ -321,7 +321,7 @@
var/obj/item/stack/F = new type(user, amount, FALSE)
. = F
F.copy_evidences(src)
user.put_in_hands(F)
user.put_in_hands(F, merge_stacks=FALSE)
add_fingerprint(user)
F.add_fingerprint(user)
use(amount, TRUE)