Fix lobby chatter

This commit is contained in:
Markolie
2015-02-20 21:13:51 +01:00
parent 8e265002db
commit f17c266919
+5 -1
View File
@@ -107,7 +107,11 @@ proc/get_radio_key_from_channel(var/channel)
listening_obj |= O
for(var/mob/M in player_list)
if(M.stat == DEAD && M.client && (M.client.prefs.toggles & CHAT_GHOSTEARS))
if (!M.client)
continue //skip monkeys and leavers
if (istype(M, /mob/new_player))
continue
if(M.stat == DEAD && M.client && (M.client.prefs.toggles & CHAT_GHOSTEARS) && src.client) // src.client is so that ghosts don't have to listen to mice
listening |= M
continue
if(M.loc && M.locs[1] in hearturfs)