mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 03:51:49 +01:00
Ghosts with GHOSTRADIO on won't hear people talk into radios only the radio chatter.
Unconscience folk will also not hear speech or radio.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
if(!client)
|
||||
return
|
||||
|
||||
if(sleeping)
|
||||
if(sleeping || stat == 1)
|
||||
hear_sleep(message)
|
||||
return
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
|
||||
var/track = null
|
||||
if(istype(src, /mob/dead/observer))
|
||||
if(italics && client.prefs.toggles & CHAT_GHOSTRADIO)
|
||||
return
|
||||
if(speaker_name != speaker.real_name)
|
||||
speaker_name = "[speaker.real_name] ([speaker_name])"
|
||||
track = "(<a href='byond://?src=\ref[src];track=\ref[speaker]'>follow</a>) "
|
||||
@@ -50,7 +52,7 @@
|
||||
if(!client)
|
||||
return
|
||||
|
||||
if(sleeping)
|
||||
if(sleeping || stat==1) //If unconscious or sleeping
|
||||
hear_sleep(message)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user