From 3ad1b40dfc5bc92a3bc30dd8d45de41e79f3ae30 Mon Sep 17 00:00:00 2001
From: PowerfulBacon <26465327+PowerfulBacon@users.noreply.github.com>
Date: Sun, 17 Apr 2022 22:37:30 +0100
Subject: [PATCH] Fixes OOC
---
code/modules/client/verbs/ooc.dm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/code/modules/client/verbs/ooc.dm b/code/modules/client/verbs/ooc.dm
index ce7a96e3d107b..7ba51cf7f418a 100644
--- a/code/modules/client/verbs/ooc.dm
+++ b/code/modules/client/verbs/ooc.dm
@@ -16,7 +16,7 @@ GLOBAL_VAR_INIT(normal_ooc_colour, "#002eb8")
if(!GLOB.ooc_allowed)
to_chat(src, "OOC is globally muted.")
return
- if(!GLOB.dooc_allowed && (mob.stat == DEAD))
+ if(!GLOB.dooc_allowed && istype(mob, /mob/dead/new_player))
to_chat(usr, "OOC for dead mobs has been turned off.")
return
if(prefs.muted & MUTE_OOC)