Binder fixes (#7673)

This commit is contained in:
Eli
2024-02-03 05:15:39 +11:00
committed by GitHub
parent 0272d5d8ea
commit 2edc2faf5b
4 changed files with 15 additions and 0 deletions

View File

@@ -35,6 +35,12 @@
update_icon()
/obj/item/device/mindbinder/pre_attack(atom/A)
if(istype(A, /obj/structure/gargoyle))
var/obj/structure/gargoyle/G = A
A = G.gargoyle
if(istype(A, /obj/item/weapon/holder))
var/obj/item/weapon/holder/H = A
A = H.held_mob
if(istype(A, /mob/living))
var/mob/living/M = A
if(usr == M)