stops message spam (#31742)

This commit is contained in:
vuonojenmustaturska
2017-10-17 00:10:17 +03:00
committed by AnturK
parent e8f5f3f3e0
commit d3e2eae57d
+1 -1
View File
@@ -297,7 +297,7 @@
/obj/item/stack/attackby(obj/item/W, mob/user, params)
if(istype(W, merge_type))
if(istype(W, merge_type) && amount < max_amount)
var/obj/item/stack/S = W
merge(S)
to_chat(user, "<span class='notice'>Your [S.name] stack now contains [S.get_amount()] [S.singular_name]\s.</span>")