Fixes #1789 and most alt-clicking related bugs (#1808)

Fix for the alt-clicking related bugs; users being able to alt-click and
have it work regardless of distance.
This commit is contained in:
Ryan784
2017-02-24 19:30:09 +02:00
committed by skull132
parent 54b64c3688
commit a52092b294
10 changed files with 26 additions and 17 deletions
+1
View File
@@ -48,6 +48,7 @@
//Altclick the cart with a mop to stow the mop away
//Altclick the cart with a reagent container to pour things into the bucket without putting the bottle in trash
/obj/structure/janitorialcart/AltClick()
if(!usr || usr.stat || usr.lying || usr.restrained() || !Adjacent(usr)) return
var/obj/I = usr.get_active_hand()
if(istype(I, /obj/item/weapon/mop))
if(!mymop)