diff --git a/code/game/machinery/hologram.dm b/code/game/machinery/hologram.dm index 7cf0b69d7d..2a5846ca7f 100644 --- a/code/game/machinery/hologram.dm +++ b/code/game/machinery/hologram.dm @@ -112,6 +112,10 @@ Possible to do for anyone motivated enough: return ..() /obj/machinery/holopad/AltClick(mob/living/carbon/human/user) + if(isAI(user)) + hangup_all_calls() + return + if(!CheckCallClose()) interact(user) @@ -157,6 +161,12 @@ Possible to do for anyone motivated enough: popup.set_title_image(user.browse_rsc_icon(src.icon, src.icon_state)) popup.open() +//Stop ringing the AI!! +/obj/machinery/holopad/proc/hangup_all_calls() + for(var/I in holo_calls) + var/datum/holocall/HC = I + HC.Disconnect(src) + /obj/machinery/holopad/Topic(href, href_list) if(..() || isAI(usr)) return