mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
-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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user