Skip to content

Commit

Permalink
[MIRROR] Fix bitrunning triggering claustrophobia [MDB IGNORE] (#25327)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
2 people authored and FFMirrorBot committed Nov 29, 2023
1 parent c7043a8 commit dcc3238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/quirks/negative_quirks/claustrophobia.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dcc3238

Please sign in to comment.