Actually fix travis + toggle on

This commit is contained in:
Shifty/Anthomansland
2020-05-31 20:55:48 +02:00
parent 4e8ad85259
commit cb3518c462
4 changed files with 5 additions and 3 deletions

View File

@@ -648,4 +648,4 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
/mob/dead/observer/proc/can_reenter_corpse()
var/mob/M = get_top_transmogrification()
return (M && M.client && can_reenter_corpse)
return (M && M.client && can_reenter_corpse)

View File

@@ -45,5 +45,7 @@
if ((client.prefs.toggles & CHAT_GHOSTRADIO) != CHAT_GHOSTRADIO)
say_testing(src, "/mob/dead/observer/Hear(): CHAT_GHOSTRADIO is disabled, blocking. ([client.prefs.toggles] & [CHAT_GHOSTRADIO]) = [client.prefs.toggles & CHAT_GHOSTRADIO]")
return
if (client?.prefs.chat_on_map && (client.prefs.see_chat_non_mob || ismob(speech.speaker)))
create_chat_message(speech.speaker, speech.language, speech.message, speech.mode)
to_chat(src, "<a href='?src=\ref[src];follow=\ref[source]'>(Follow)</a> [rendered_speech]")