mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user