Merge pull request #983 from Erthilo/TGUpdates

A hacky way to stop snoring from being global
This commit is contained in:
Hawk-v3
2012-05-05 16:32:17 -07:00
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -201,7 +201,6 @@
#define FILE_DIR "icons/vending_icons"
#define FILE_DIR "interface"
#define FILE_DIR "maps"
#define FILE_DIR "maps/backup"
#define FILE_DIR "sound"
#define FILE_DIR "sound/AI"
#define FILE_DIR "sound/ambience"
@@ -526,6 +526,8 @@
continue //skip monkeys and leavers
if (istype(M, /mob/new_player))
continue
if(findtext(message," snores.")) //Because we have so many sleeping people.
continue
if(M.stat == 2 && M.client.ghost_sight && !(M in viewers(src,null)))
M.show_message(message)