Skip to content

Commit

Permalink
Fixes lurker tail stab over ledges and window frames (#5160)
Browse files Browse the repository at this point in the history
# About the pull request

Fixes lurker tail stab not being usable over window frames and ledges.

# Explain why it's good for the game
# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
fix: Lurker can tail jab over ledges and window frames.
/:cl:
  • Loading branch information
Birdtalon committed Dec 20, 2023
1 parent 92c1793 commit 60ddbd4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
xeno.visible_message(SPAN_XENOWARNING("\The [xeno] strikes the window with their tail!"), SPAN_XENOWARNING("We strike the window with our tail!"))
apply_cooldown(cooldown_modifier = 0.5)
return
if(current_structure.density)
if(current_structure.density && !current_structure.throwpass)
to_chat(xeno, SPAN_WARNING("There's something blocking us from striking!"))
return

Expand Down

0 comments on commit 60ddbd4

Please sign in to comment.