Merge pull request #5224 from CHOMPStation2/upstream-merge-14025

[MIRROR] Fixes two lobby bugs
This commit is contained in:
Nadyr
2022-11-07 18:34:07 -05:00
committed by GitHub
+4
View File
@@ -61,6 +61,8 @@
var/list/vis_objs = vis["objs"]
for(var/mob/M as anything in vis_mobs)
if(isnewplayer(M))
continue
if(isobserver(M) && !(is_preference_enabled(/datum/client_preference/whisubtle_vis) || (isbelly(M.loc) && src == M.loc:owner)) && !M.client?.holder) //CHOMPEdit - Added the belly check so that ghosts in bellies can still see their pred's messages.
spawn(0)
M.show_message(undisplayed_message, 2)
@@ -365,6 +367,8 @@
if(M)
if(isobserver(M))
message = "[message] ([ghost_follow_link(src, M)])"
if(isnewplayer(M))
continue
if(M.stat == UNCONSCIOUS || M.sleeping > 0)
continue
to_chat(M, message)