Update ntpda_msg.dm (#17179)

This commit is contained in:
TheGamerdk
2022-12-26 17:22:34 +01:00
committed by GitHub
parent 7e085ad3ec
commit 8defeef1f7

View File

@@ -213,9 +213,7 @@ GLOBAL_LIST_EMPTY(NTPDAMessages)
comp.audible_message("[icon2html(comp, hearers(comp))] *[ringtone]*", null, 3) comp.audible_message("[icon2html(comp, hearers(comp))] *[ringtone]*", null, 3)
var/msg = "<b>Message from [sender.username], \"[message]\"</b>" var/msg = "<b>Message from [sender.username], \"[message]\"</b>"
if(istype(comp, /obj/item/modular_computer/tablet)) if(istype(comp, /obj/item/modular_computer/tablet))
var/mob/living/carbon/C = comp.loc msg += " (<a href='byond://?src=[REF(src)];target=[REF(signal.data["program"])]'>Reply</a>)"
if(istype(C))
msg += " (<a href='byond://?src=[REF(src)];target=[REF(signal.data["program"])]'>Reply</a>)"
comp.visible_message(span_notice(msg), null, null, 1) comp.visible_message(span_notice(msg), null, null, 1)
return TRUE return TRUE