From dcc323836e3a4695518da952bf466dba278d71f6 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 29 Nov 2023 05:47:05 +0100 Subject: [PATCH] [MIRROR] Fix bitrunning triggering claustrophobia [MDB IGNORE] (#25327) * Fix bitrunning triggering claustrophobia (#79944) ## About The Pull Request Fixes #79226 Bitrunning while having claustrophobia would kill you after you left the VR pod. This is no longer the case since your mind is functionally outside of your body, which is similar to the other checks performed to see if you are unconscious. ## Why It's Good For The Game Consistency. ## Changelog :cl: fix: Fix bitrunning triggering claustrophobia /:cl: * Fix bitrunning triggering claustrophobia --------- Co-authored-by: Tim --- code/datums/quirks/negative_quirks/claustrophobia.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/quirks/negative_quirks/claustrophobia.dm b/code/datums/quirks/negative_quirks/claustrophobia.dm index e0207d227dd..226c9b65ef8 100644 --- a/code/datums/quirks/negative_quirks/claustrophobia.dm +++ b/code/datums/quirks/negative_quirks/claustrophobia.dm @@ -15,7 +15,7 @@ if(quirk_holder.stat != CONSCIOUS || quirk_holder.IsSleeping() || quirk_holder.IsUnconscious()) return - if(HAS_TRAIT(quirk_holder, TRAIT_FEARLESS)) + if(HAS_TRAIT(quirk_holder, TRAIT_MIND_TEMPORARILY_GONE) || HAS_TRAIT(quirk_holder, TRAIT_FEARLESS)) return var/nick_spotted = FALSE