Refactored MouseDrop_T (#18549)

* sdafas

* sdaf
This commit is contained in:
Fluffy
2024-02-29 21:58:23 +00:00
committed by GitHub
parent c29a42a865
commit 9fc52575dd
30 changed files with 148 additions and 85 deletions
+2 -1
View File
@@ -572,7 +572,8 @@
updateUsrDialog()
/obj/machinery/reagentgrinder/MouseDrop_T(mob/living/carbon/human/target as mob, mob/user as mob)
/obj/machinery/reagentgrinder/MouseDrop_T(atom/dropping, mob/user)
var/mob/living/carbon/human/target = dropping
if (!istype(target) || target.buckled_to || get_dist(user, src) > 1 || get_dist(user, target) > 1 || user.stat || istype(user, /mob/living/silicon/ai))
return
if(target == user)