Merge pull request #16117 from SandPoot/headset

Open headset ui by dragging it to self
This commit is contained in:
deathride58
2025-01-04 08:50:22 -05:00
committed by GitHub
@@ -81,6 +81,12 @@ GLOBAL_LIST_INIT(channel_tokens, list(
return ..(freq, level)
return FALSE
/obj/item/radio/headset/MouseDrop(mob/over, src_location, over_location)
var/mob/headset_user = usr
if((headset_user == over) && headset_user.canUseTopic(src, BE_CLOSE, FALSE, NO_TK))
return attack_self(headset_user)
return ..()
/obj/item/radio/headset/syndicate //disguised to look like a normal headset for stealth ops
/obj/item/radio/headset/syndicate/alt //undisguised bowman with flash protection