From ce46c14fa7ccdfe5d5dd7541c8540692f5123e6f Mon Sep 17 00:00:00 2001 From: swindly Date: Mon, 27 Mar 2017 20:06:28 -0400 Subject: [PATCH] fixes tracking implants --- code/game/machinery/computer/prisoner.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/computer/prisoner.dm b/code/game/machinery/computer/prisoner.dm index c6aa932c6cf..c91828b71c2 100644 --- a/code/game/machinery/computer/prisoner.dm +++ b/code/game/machinery/computer/prisoner.dm @@ -132,8 +132,9 @@ else if(href_list["warn"]) var/warning = copytext(sanitize(input(usr,"Message:","Enter your message here!","")),1,MAX_MESSAGE_LEN) - if(!warning) return - var/obj/item/weapon/implant/I = locate(href_list["warn"]) in tracked_chem_implants + if(!warning) + return + var/obj/item/weapon/implant/I = locate(href_list["warn"]) in tracked_implants if(I && istype(I) && I.imp_in) var/mob/living/R = I.imp_in to_chat(R, "You hear a voice in your head saying: '[warning]'")