Mousedrop fixes - Adds return value to item mousedrop and fixes current bugs with the few things that make use of it
This commit is contained in:
@@ -92,6 +92,8 @@
|
||||
|
||||
/obj/item/papercutter/MouseDrop(atom/over_object)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
var/mob/M = usr
|
||||
if(M.incapacitated() || !Adjacent(M))
|
||||
return
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
|
||||
/obj/item/paper_bin/MouseDrop(atom/over_object)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
var/mob/living/M = usr
|
||||
if(!istype(M) || M.incapacitated() || !Adjacent(M))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user