Skip to content

Commit

Permalink
Xenomorphs can walk to ignore portals (#16655)
Browse files Browse the repository at this point in the history
  • Loading branch information
Runian authored Oct 27, 2024
1 parent 045bca0 commit 2851228
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,10 @@ GLOBAL_LIST_INIT(wraith_banish_very_short_duration_list, typecacheof(list(
SIGNAL_HANDLER
if(!linked_portal || !COOLDOWN_CHECK(src, portal_cooldown) || crosser.anchored || (crosser.resistance_flags & PORTAL_IMMUNE))
return
if(isxeno(crosser))
var/mob/living/carbon/xenomorph/xeno_crosser = crosser
if(xeno_crosser.m_intent == MOVE_INTENT_WALK)
return
COOLDOWN_START(linked_portal, portal_cooldown, 1)
crosser.pass_flags &= ~PASS_MOB
RegisterSignal(crosser, COMSIG_MOVABLE_MOVED, PROC_REF(do_teleport_atom))
Expand Down

0 comments on commit 2851228

Please sign in to comment.