Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOM authored and DOOM committed May 1, 2024
1 parent 25bfb3f commit e7aee06
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions code/modules/defenses/sentry.dm
Original file line number Diff line number Diff line change
Expand Up @@ -365,11 +365,7 @@
targets.Remove(A)
continue

if(M.is_ventcrawling)
targets.Remove(A)
continue

if(M.get_target_lock(faction_group) || M.invisibility || HAS_TRAIT(M, TRAIT_ABILITY_BURROWED))
if(M.get_target_lock(faction_group) || M.invisibility || HAS_TRAIT(M, TRAIT_ABILITY_BURROWED) || M.is_ventcrawling)
if(M == target)
target = null
targets.Remove(M)
Expand Down

0 comments on commit e7aee06

Please sign in to comment.