-Changed the Resurrection "verb" to a "proc" so that nobody starts with it.

-Fixed a small error with the say() code trying to do a bitflag operation with the preference datum and not the toggle variable in the datum. Added a check for the mob speaking having a client so that ghosts with ears toggled on won't keep hearing mice and other animals talk.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5156 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-11-21 21:27:12 +00:00
parent 541ae72099
commit 5f4d0a2de9
2 changed files with 3 additions and 3 deletions

View File

@@ -276,7 +276,7 @@ var/list/department_radio_keys = list(
continue //skip monkeys and leavers
if (istype(M, /mob/new_player))
continue
if(M.stat == DEAD && (M.client.prefs & CHAT_GHOSTEARS))
if(M.stat == DEAD && (M.client.prefs.toggles & CHAT_GHOSTEARS) && src.client) // src.client is so that ghosts don't have to listen to mice
listening|=M
var/turf/T = get_turf(src)