Fixes two lobby bugs

This commit is contained in:
Casey
2022-11-06 16:56:33 +00:00
committed by CHOMPStation2
parent db955fb40c
commit ff65e83ebf
+8
View File
@@ -61,7 +61,13 @@
var/list/vis_objs = vis["objs"]
for(var/mob/M as anything in vis_mobs)
<<<<<<< HEAD
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.
=======
if(isnewplayer(M))
continue
if(isobserver(M) && !is_preference_enabled(/datum/client_preference/whisubtle_vis) && !M.client?.holder)
>>>>>>> ec81deaac6... Merge pull request #14025 from Heroman3003/newplayer-fixes
spawn(0)
M.show_message(undisplayed_message, 2)
else
@@ -365,6 +371,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)