mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fixes broken announcements
Master branch issue.
This commit is contained in:
@@ -247,10 +247,12 @@ var/global/list/default_medbay_channels = list(
|
|||||||
if (!istype(connection))
|
if (!istype(connection))
|
||||||
return
|
return
|
||||||
|
|
||||||
var/mob/living/silicon/ai/A = new /mob/living/silicon/ai(src, null, null, 1)
|
var/static/mob/living/silicon/ai/announcer/A = new /mob/living/silicon/ai/announcer(src, null, null, 1)
|
||||||
A.fully_replace_character_name(null,from)
|
A.SetName(from)
|
||||||
talk_into(A, message, channel,"states")
|
Broadcast_Message(connection, A,
|
||||||
qdel(A)
|
0, "*garbled automated announcement*", src,
|
||||||
|
message, from, "Automated Announcement", from, "synthesized voice",
|
||||||
|
4, 0, list(0), connection.frequency, "states")
|
||||||
|
|
||||||
// Interprets the message mode when talking into a radio, possibly returning a connection datum
|
// Interprets the message mode when talking into a radio, possibly returning a connection datum
|
||||||
/obj/item/device/radio/proc/handle_message_mode(mob/living/M as mob, message, message_mode)
|
/obj/item/device/radio/proc/handle_message_mode(mob/living/M as mob, message, message_mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user