stacks no longer give you a pop up window when you alt click on one on the floor (#44691)

cl
tweak: stacks no longer give you a pop up window when you alt click on one on the floor
/cl

its rather obnoxious when you try to grab something from a tile (example after an explosion) which has some giant sprites of rod/tiles/metal and you want toalt click to see the tile content but instead you have to pixel snipe else you get a pop up window

99% of the time you want to grab part of a stack you do it in hand or in the bag anyway which have no effects from this pr
This commit is contained in:
Tlaltecuhtli
2019-06-30 09:52:34 +12:00
committed by oranges
parent c115dc0613
commit c94507576e
+3
View File
@@ -355,6 +355,9 @@
. = ..()
/obj/item/stack/AltClick(mob/living/user)
. = ..()
if(isturf(loc)) // to prevent people that are alt clicking a tile to see its content from getting undesidered pop ups
return
if(!istype(user) || !user.canUseTopic(src, BE_CLOSE, ismonkey(user)))
return
if(is_cyborg)