[MIRROR] some dropped sanity (#9856)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-12 09:34:37 -07:00
committed by GitHub
parent 6ba6be650c
commit 2d0719a4d4
64 changed files with 115 additions and 82 deletions

View File

@@ -74,7 +74,8 @@ var/const/tk_maxrange = 15
var/atom/movable/focus = null
var/mob/living/host = null
/obj/item/tk_grab/dropped(mob/user as mob)
/obj/item/tk_grab/dropped(mob/user)
..()
if(focus && user && loc != user && loc != user.loc) // drop_item() gets called when you tk-attack a table/closet with an item
if(focus.Adjacent(loc))
focus.loc = loc